mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Update formatting for channelvariables.tex
(closes issue #17511) Reported by: klaus3000 Patches: channelvariables.tex-patch.txt uploaded by klaus3000 (license 65) Tested by: pabelanger git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@270801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -288,7 +288,7 @@ with equal precedence are grouped within \{ \} symbols.
|
|||||||
Exactly the same as the ':' operator, except that the match is
|
Exactly the same as the ':' operator, except that the match is
|
||||||
not anchored to the beginning of the string. Pardon any similarity
|
not anchored to the beginning of the string. Pardon any similarity
|
||||||
to seemingly similar operators in other programming languages!
|
to seemingly similar operators in other programming languages!
|
||||||
The ":" and "=\~" operators share the same precedence.
|
The ":" and "=\verb!~!" operators share the same precedence.
|
||||||
|
|
||||||
\item \verb!expr1 ? expr2 :: expr3!
|
\item \verb!expr1 ? expr2 :: expr3!
|
||||||
|
|
||||||
@@ -649,11 +649,11 @@ of possible concern with "legacy" extension.conf files:
|
|||||||
Basically, if the string or number is null, empty, or '0',
|
Basically, if the string or number is null, empty, or '0',
|
||||||
a '1' is returned. Otherwise a '0' is returned.
|
a '1' is returned. Otherwise a '0' is returned.
|
||||||
|
|
||||||
\item Added the '=~' operator, just in case someone is just looking for
|
\item Added the '=\verb!~!' operator, just in case someone is just looking for
|
||||||
match anywhere in the string. The only diff with the ':' is that
|
match anywhere in the string. The only diff with the ':' is that
|
||||||
match doesn't have to be anchored to the beginning of the string.
|
match doesn't have to be anchored to the beginning of the string.
|
||||||
|
|
||||||
\item Added the conditional operator 'expr1 ? true\_expr : false\_expr'
|
\item Added the conditional operator 'expr1 ? true\_expr :: false\_expr'
|
||||||
First, all 3 exprs are evaluated, and if expr1 is false, the 'false\_expr'
|
First, all 3 exprs are evaluated, and if expr1 is false, the 'false\_expr'
|
||||||
is returned as the result. See above for details.
|
is returned as the result. See above for details.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user