mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Remove as much trailing whitespace as possible.
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
* \brief String manipulation dialplan functions
|
||||
*
|
||||
* \author Tilghman Lesher
|
||||
* \author Anothony Minessale II
|
||||
* \author Anothony Minessale II
|
||||
* \ingroup functions
|
||||
*/
|
||||
|
||||
@@ -108,13 +108,13 @@ AST_THREADSTORAGE(tmp_buf);
|
||||
<parameter name="string" required="true" />
|
||||
</syntax>
|
||||
<description>
|
||||
<para>Permits all characters listed in <replaceable>allowed-chars</replaceable>,
|
||||
filtering all others outs. In addition to literally listing the characters,
|
||||
<para>Permits all characters listed in <replaceable>allowed-chars</replaceable>,
|
||||
filtering all others outs. In addition to literally listing the characters,
|
||||
you may also use ranges of characters (delimited by a <literal>-</literal></para>
|
||||
<para>Hexadecimal characters started with a <literal>\x</literal>(i.e. \x20)</para>
|
||||
<para>Octal characters started with a <literal>\0</literal> (i.e. \040)</para>
|
||||
<para>Also <literal>\t</literal>,<literal>\n</literal> and <literal>\r</literal> are recognized.</para>
|
||||
<note><para>If you want the <literal>-</literal> character it needs to be prefixed with a
|
||||
<para>Also <literal>\t</literal>,<literal>\n</literal> and <literal>\r</literal> are recognized.</para>
|
||||
<note><para>If you want the <literal>-</literal> character it needs to be prefixed with a
|
||||
<literal>\</literal></para></note>
|
||||
</description>
|
||||
</function>
|
||||
@@ -181,9 +181,9 @@ AST_THREADSTORAGE(tmp_buf);
|
||||
</syntax>
|
||||
<description>
|
||||
<para>Return <literal>1</literal> on regular expression match or <literal>0</literal> otherwise</para>
|
||||
<para>Please note that the space following the double quotes separating the
|
||||
regex from the data is optional and if present, is skipped. If a space is
|
||||
desired at the beginning of the data, then put two spaces there; the second
|
||||
<para>Please note that the space following the double quotes separating the
|
||||
regex from the data is optional and if present, is skipped. If a space is
|
||||
desired at the beginning of the data, then put two spaces there; the second
|
||||
will not be skipped.</para>
|
||||
</description>
|
||||
</function>
|
||||
@@ -220,8 +220,8 @@ AST_THREADSTORAGE(tmp_buf);
|
||||
<parameter name="hashname" required="true" />
|
||||
</syntax>
|
||||
<description>
|
||||
<para>Returns a comma-delimited list of the current keys of the associative array
|
||||
defined by the HASH() function. Note that if you iterate over the keys of
|
||||
<para>Returns a comma-delimited list of the current keys of the associative array
|
||||
defined by the HASH() function. Note that if you iterate over the keys of
|
||||
the result, adding keys during iteration will cause the result of the HASHKEYS()
|
||||
function to change.</para>
|
||||
</description>
|
||||
@@ -247,8 +247,8 @@ AST_THREADSTORAGE(tmp_buf);
|
||||
<parameter name="varN" required="false" />
|
||||
</syntax>
|
||||
<description>
|
||||
<para>The comma-delimited list passed as a value to which the function is set will
|
||||
be interpreted as a set of values to which the comma-delimited list of
|
||||
<para>The comma-delimited list passed as a value to which the function is set will
|
||||
be interpreted as a set of values to which the comma-delimited list of
|
||||
variable names in the argument should be set.</para>
|
||||
<para>Example: Set(ARRAY(var1,var2)=1,2) will set var1 to 1 and var2 to 2</para>
|
||||
</description>
|
||||
@@ -263,7 +263,7 @@ AST_THREADSTORAGE(tmp_buf);
|
||||
<parameter name="format" required="true" />
|
||||
</syntax>
|
||||
<description>
|
||||
<para>This is useful for converting a date into <literal>EPOCH</literal> time,
|
||||
<para>This is useful for converting a date into <literal>EPOCH</literal> time,
|
||||
possibly to pass to an application like SayUnixTime or to calculate the difference
|
||||
between the two date strings</para>
|
||||
<para>Example: ${STRPTIME(2006-03-01 07:30:35,America/Chicago,%Y-%m-%d %H:%M:%S)} returns 1141219835</para>
|
||||
@@ -386,7 +386,7 @@ AST_THREADSTORAGE(tmp_buf);
|
||||
NoOp(var is three) being executed.
|
||||
</para>
|
||||
</description>
|
||||
</function>
|
||||
</function>
|
||||
<function name="POP" language="en_US">
|
||||
<synopsis>
|
||||
Removes and returns the last item off of a variable containing delimited text
|
||||
@@ -406,7 +406,7 @@ AST_THREADSTORAGE(tmp_buf);
|
||||
NoOp(var is one) being executed.
|
||||
</para>
|
||||
</description>
|
||||
</function>
|
||||
</function>
|
||||
<function name="PUSH" language="en_US">
|
||||
<synopsis>
|
||||
Appends one or more values to the end of a variable containing delimited text
|
||||
@@ -976,7 +976,7 @@ static int regex(struct ast_channel *chan, const char *cmd, char *parse, char *b
|
||||
ast_log(LOG_WARNING, "Malformed input %s(%s): %s\n", cmd, parse, buf);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
strcpy(buf, regexec(®exbuf, args.str, 0, NULL, 0) ? "0" : "1");
|
||||
|
||||
regfree(®exbuf);
|
||||
@@ -1903,7 +1903,7 @@ AST_TEST_DEFINE(test_STRREPLACE)
|
||||
ast_channel_release(chan);
|
||||
return AST_TEST_FAIL;
|
||||
}
|
||||
|
||||
|
||||
AST_LIST_INSERT_HEAD(ast_channel_varshead(chan), var, entries);
|
||||
|
||||
if (test_strings[i][3]) {
|
||||
|
Reference in New Issue
Block a user