EasyManua.ls Logo

Alcatel-Lucent 7450 ESS-7 - Table 9: Regular Expression Symbols

Alcatel-Lucent 7450 ESS-7
537 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CLI Usage
7450 ESS OS Basic System Configuration Guide Page 41
Table 9 describes regular expression symbols and interpretation (similar to what is used for route
policy regexp matching). Table 10 describes special characters.
Table 9: Regular Expression Symbols
String Description
.
Matches any single character.
[ ]
Matches a single character that is contained within the brackets.
[abc] matches “a”, “b”, or “c”. [a-z] matches any lowercase letter.
[A-Z] matches any uppercase letter.
[0-9] matches any number.
[^ ]
Matches a single character that is not contained within the brackets.
[^abc] matches any character other than “a”, “b”, or “c”.
[^a-z] matches any single character that is not a lowercase letter.
^
Matches the start of the line (or any line, when applied in multiline mode)
$
Matches the end of the line (or any line, when applied in multiline mode)
()
Define a “marked subexpression”.
Every matched instance will be available to the next command as a variable.
*
A single character expression followed by “*” matches zero or more copies of the
expression.
{m,n}
Matches least m and at most n repetitions of the term
{m}
Matches exactly m repetitions of the term
{m,}
Matches m or more repetitions of the term
?
The preceding item is optional and matched at most once.
+
The preceding item is matched one or more times.
-
Used between start and end of a range.
\
An escape character to indicate that the following character is a match criteria and
not a grouping delimiter.
>
Redirect output

Table of Contents

Other manuals for Alcatel-Lucent 7450 ESS-7

Related product manuals