Table 9: Regular Expression Symbols; Table 10: Special Characters - Alcatel-Lucent 7950 XRS Series Configuration Manual

Extensible routing system sr os basic system
Table of Contents

Advertisement

Table 9
policy regexp matching).

Table 9: Regular Expression Symbols

String
.
[ ]
[^ ]
^
$
()
*
{m,n}
{m}
{m,}
?
+
-
\
>

Table 10: Special Characters

[:upper:]
[:lower:]
[:alpha:]
7950 SR OS Basic System Configuration Guide
describes regular expression symbols and interpretation (similar to what is used for route
Table 10
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.
Matches least m and at most n repetitions of the term
Matches exactly m repetitions of the term
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
Options
[A-Z]
[a-z]
[A-Za-z]
describes special characters.
Description
Similar to
uppercase letters
lowercase letters
upper- and lowercase letters
CLI Usage
Description
Page 39

Advertisement

Table of Contents
loading

Table of Contents