2413

text: Regular expression in a case-insensitive string with space allowed.

Table 623 Special characters in regular expression

Character

Meaning

Note

^Starting sign, the string following it appears only at the beginning of a line.

Regular expression “^user” matches a string begins with “user”, not “Auser”.

$

Ending sign, the string before it

 

appears only at the end of a line.

(

Left bracket, used as a stack symbol in

 

a program

Regular expression “user$” matches a string ends with “user”, not “userA”.

It is not recommended to user this character to establish a regular expression.

.

Full stop, a wildcard used in place of

 

any character, including blank

*Asterisk, used to match a subexpression zero or multiple times before it

+Addition, used to match a subexpression one or multiple times before it

-Hyphen. It connects two values (the smaller one before it and the bigger one after it) to indicate a range together with [ ].

None

zo* can map to “z” and “zoo”.

zo+ can map to “zo” and “zoo”, but not “z”.

For example, “1-9” means numbers from 1 to 9 (inclusive); “a-h” means from a to h (inclusive).

[ ]

Selects one character from the group. For example, [1-36A] can match only

 

one character among 1, 2, 3, 6, and

 

A.

( )

A group of characters. It is usually

 

used with “+” or “*”.

For example, (123A) means a string “123A”; “408(12)+” can match 40812 or 408121212. But it cannot match 408. That is, “12” can appear continuously and it must at least appear once.

Description Use the display current-configurationcommand to display the current validated configuration of a device.

A parameter is not displayed if it has the default configuration.

You can use the display current-configurationcommand to view the currently validated configuration. A parameter is not displayed if it has the default configuration. If the validated parameter is changed, although you have configured it, the validated parameter is displayed. For example, ip address

11.11.11.1124 has been configured on a Loopback interface. In this case, if you execute the display current-configurationcommand, ip address 11.11.11.11 255.255.255.255 is displayed, meaning the validated subnet mask is 32 bits.

Related command: save on page 2365, reset saved-configurationon page 2363, display saved-configurationon page 2361.

Example # Display the configuration of all controllers on the devices.

<Sysname> display current-configuration controller

#

Page 2413
Image 2413
3Com MSR 50, MSR 30 manual Special characters in regular expression, 2413