Operation Manual – Basic Configuration
H3C XE 200/2000 IP PBX
Chapter 2 Command Line Interface for Configuration
2-15
Metacharacter
Description
|
Allows either expression on the side of the alternation character
to match the target object.
^
The characters following the ^ sign must appear at the beginning
of the target object.
$
The characters before the dollar sign must appear at the end of
the target object.
(xyz)
The target object must contain the character string in the
parenthesis.
[xyz]
Matches any character contained in the square brackets.
[^xyz]
Matches any character except for those contained in the square
brackets.
[a-z]
Matches any character within the specified range.
[^a-z]
Matches any character beyond the specified range.
{n}
The “n” in the brace brackets is a non-negative integer, indicating
that there are consecutive n matches for a character string.
{n,}
The “n” in the brace brackets is a non-negative integer, indicating
that there are consecutive n or more than n matches for a
character string.
{n,m}
The “m” and “n” in the brace brackets are non-negative integers,
with n<=m. It indicates that the consecutive matches are in the
range n to m. Note that no space is allowed on either side of the
comma.
For example:
^ip: to match the target object starting with the character string “ip”.
ip$: to match the target object ending with the character string “ip”.
II. Usage of regular expressions
You can use regular expressions to filter out uninterested information when a large
amount of information is present.
1)
Specify filtering mode between screens
If enormous information is present and output in multiple screens, you can filter
information after the prompt ”---- More ----” between screens appears by entering a
regular expression in one of the following forms:
z
/
regular-expression
: to output all lines starting with the line that matches the
specified regular expression.
z
-
regular-expression
: to output all lines that do not match the specified regular
expression.
Summary of Contents for XE 200/2000 IP
Page 7: ...Basic Configuration ...
Page 42: ...Process Server Configuration ...
Page 82: ...Location Server Configuration ...
Page 182: ...Feature ...
Page 259: ...System Management ...
Page 341: ...IP Performance and Application ...
Page 349: ...Media Server ...
Page 360: ...Call Services ...
Page 507: ...Appendix A ...
Page 511: ...Appendix B ...