1-19
Character
Meaning
Remarks
( )
A character group. It is usually used with
“+” or “*”.
For example, (123A) means a character
group “123A”; “408(12)+” can match
40812 or 408121212. But it cannot
match 408.
\index
Repeats a specified character group for
once. A character group refers to the
string in () before \.
index
refers to the
sequence number (starting from 1 from
left to right) of the character group before
\: if only one character group appears
before \, then
index
can only be 1; if n
character groups appear before
index
,
then
index
can be any integer from 1 to n.
For example, (
string
)\1 means to repeat
string
for once, and (
string
)\1 must
match a string containing
stringstring;
(
string1
)(
string2
)\2 means to repeat
string2
for once, and (
string1
)(
string2
)\2
must match a string containing
string1string2string2;
(
string1
)(
string2
)\1\2 means to repeat
string1
for once first
,
and then repeat
string2 for once
, and
(
string1
)(
string2
)\1\2 must match a string
containing
string1string2string1string2.
[^]
Used to match any character not in a
specified range.
For example, [^16A] means to match a
string containing any character except 1,
6 or A, and the string can also contain 1,
6 or A, but cannot contain these three
characters only. For example, [^16A]
can match “abc” and “m16”, but not 1,
16, or 16A.
\<
string
Used to match a character string starting
with
string
.
For example, “\<do” can match word
“domain” or string “doa”.
string
\>
Used to match a character string ending
with
string
.
For example, “do\>” can match word
“undo” or string “abcdo”.
\b
character
2
Used to match
character1character2.
character1
can be any character except
number, letter or underline, and \b equals
[^A-Za-z0-9_].
For example, \ba can match -a, with -
represents
character1,
and a represents
character2;
while \ba cannot match “2a”
or “ba”
.
\B
character
It must match a string containing
character
, and there can no spaces
before
character.
For example, “\Bt” can match “t” in
“install”, but not “t” in “big top”.
character1\w
Used to match
character1character2.
character2
must be a number, letter or
underline, and \
w
equals [^A-Za-z0-9_].
For example, “v\w” can match “vlan”,
with “v” being
character1,
and “l” being
character2.
v\w can also match
“service”, with “i” being
character2.
\W Equals
\b.
For example, “\Wa” can match “-a”, with
“-” representing
character1,
and “a”
representing
character2;
while “\ba”
cannot match “2a” or “ba”
.
\
Escape character. If single special
characters listed in this table follow \, the
specific meanings of the characters will
be removed.
For example, “\\” can match a string
containing “\”, “\^” can match a string
containing “^”, and “\\b” can match a
string containing “\b”.
Multiple-screen output
When there is a lot of information to be output, the system displays the information in multiple screens.
Generally, 24 lines are displayed on one screen, and you can also use the
screen-length
command to
set the number of lines displayed on the next screen. (For the details of this command, refer to
Login
Содержание 4500G PWR 24-Port
Страница 200: ...1 5 ProviderB GigabitEthernet1 0 2 undo stp enable ProviderB GigabitEthernet1 0 2 bpdu tunnel dot1q stp ...
Страница 252: ...1 7 Clearing ARP entries from the ARP table may cause communication failures ...
Страница 362: ...i Table of Contents 1 Dual Stack Configuration 1 1 Dual Stack Overview 1 1 Configuring Dual Stack 1 1 ...
Страница 407: ...1 8 1 1 ms 1 ms 1 ms 1 1 6 1 2 1 ms 1 ms 1 ms 1 1 4 1 3 1 ms 1 ms 1 ms 1 1 2 2 Trace complete ...
Страница 786: ...1 16 3 In the case of PIM SM use the display current configuration command to check the BSR and RP information ...
Страница 1387: ...1 23 ...
Страница 1443: ...i Table of Contents 1 URPF Configuration 1 1 URPF Overview 1 1 What is URPF 1 1 How URPF Works 1 1 Configuring URPF 1 2 ...
Страница 1720: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5 ...