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.
Содержание XE 200 IP
Страница 7: ...Basic Configuration...
Страница 42: ...Process Server Configuration...
Страница 82: ...Location Server Configuration...
Страница 182: ...Feature...
Страница 259: ...System Management...
Страница 341: ...IP Performance and Application...
Страница 349: ...Media Server...
Страница 360: ...Call Services...
Страница 507: ...Appendix A...
Страница 511: ...Appendix B...