
_________________________________________________________________________________
_________________________________________________________________________________
80 TAU-72.IP/TAU-36.IP Universal Network Terminal
prefix
—prefix part of the rule
@optional
—optional part of the rule (may be skipped)
Regular expressions' syntax
Prefix part of the rule
|
—logical
OR
—used to separate rules.
X
or
х
—any number from 0 to 9, equal to a range [0-9].
0
-
9
—numbers from 0 to 9.
"A", "B", "C", "D"
—'A', 'B', 'C', 'D' characters.
*
—* character.
#
—# character.
[ ]
—define ranges (with a hyphen), or enumeration (w/o spaces, commas, and other characters
between the digits), e.g.
Range:
[1-5]
—1,2,3,4, or 5.
Enumeration:
[138]
—1,3, or 8.
Range and enumeration
[0-9*#]
—0 to 9, and also * and #.
{min,max}
—define the repetition count for a character located outside the parentheses, a range
or *# symbols.
min
—minimum repetition count,
max
—maximum repetition count.
{,max}
—equal to {0,max}.
{min,}
—equal to {min,inf}.
Example:
5{2,5}
—'5' could be dialled up to 5 times.
Equal to the following record: 55|555|5555|55555
.
– 'dot' special symbol means that a preceding digit, range, or '*', '#' characters may be
repeated from one to infinity times. Equivalent to a record {0,}.
Example:
5
х
.*
—'х' in this rule may be completely absent or may be present any number of times.
Equivalent to a record 5*|5х*|5xx*|5xxx*|...
+
—digit, range, or '*', '#' characters preceding the '+' symbol may be repeated from one to
infinity times. Equivalent to a record {1,}.
<:>
—modification of a number. Digits and '*', '#' characters preceding the colon will be replaced
with those after the colon. Modification allows to remove (
<
хх
:>)
, add (
<:
хх
>)
, or replace
(
<
хх
:
хх
>
) digits and symbols.
!
—dial block. Specified at the end of a rule and means that the dialling of numbers
corresponding to the template will be blocked.