Table 5 Summary Of Regular Expression Constructs - D-Link DVX-7090 User Manual

Voip router
Hide thumbs Also See for DVX-7090:
Table of Contents

Advertisement

For example, to give local users whose extension numbers start with 56 the capability to
make outgoing calls through dialing technical prefix 0, configure source and destination
number transformation as shown in the table below:
Source
Destination
According to this rule prefix 0 will be cut off from the destination number because the
internal prefix used in the system is of no relevance to the gateway sending calls outside the
system.
The syntax of regular expressions appearing in the field
regular expressions entered in the field
The table below contains a list of regular expression constructs applicable in configuring the
system.

Table 5 Summary of regular expression constructs

Construct
x
\0n
\0nn
\0mnn
\xhh
\uhhhh
\t
\n
[abc]
[^abc]
[a-zA-Z]
[a-d[m-p]]
[a-z&&[def]]
[a-z&&[^bc]]
[a-z&&[^m-p]]
DVX-7090 VoIP Router
Match
Pattern
^56.*
^(56.*)
^0.*
^0(.*)
.
Matches
Characters
The character x
The character with octal value 0n (0 <= n <= 7)
The character with octal value 0nn (0 <= n <= 7)
The
character
with
0 <= n <= 7)
The character with hexadecimal value 0xhh
The character with hexadecimal value 0xhhhh
The tab character ('\u0009')
The newline (line feed) character ('\u000A')
Character classes
a, b, or c (simple class)
Any character except a, b, or c (negation)
a through z or A through Z, inclusive (range)
a through d, or m through p: [a-dm-p] (union)
d, e, or f (intersection)
a through z, except for b and c: [ad-z] (subtraction)
a through z, and not m through p: [a-lq-z](subtraction)
Predefined character classes
Configuration How-to's
Result
$1
$1
is identical to that of
octal
value
(0 <= m <= 3,
0mnn
page 64 of 83

Advertisement

Table of Contents
loading

Table of Contents