Cisco ROUTER-SDM-CD User Manual page 833

User guide
Table of Contents

Advertisement

Chapter 37
Cisco Common Classification Policy Language
Character Description
?
Question mark
*
Asterisk
+
Plus
{x}
Repeat quantifier
{x,}
Minimum repeat quantifier
[abc]
Character class
[^abc]
Negated character class
[a-c]
Character range class
""
Quotation marks
^
Caret
\
Escape character
OL-4015-12
Notes
A quantifier that indicates that there are 0 or 1 of the
previous expression. For example, lo?se matches lse or
lose.
You must enter Ctrl+V and then the question
Note
mark or else the help function is invoked.
A quantifier that indicates that there are 0, 1 or any
number of the previous expression. For example, lo*se
matches lse, lose, loose, etc.
A quantifier that indicates that there is at least 1 of the
previous expression. For example, lo+se matches lose
and loose, but not lse.
Repeat exactly x times. For example, ab(xy){3}z
matches abxyxyxyz.
Repeat at least x times. For example, ab(xy){2,}z
matches abxyxyz, abxyxyxyz, etc.
Matches any character in the brackets. For example,
[abc] matches a, b, or c.
Matches a single character that is not contained within
the brackets. For example, [^abc] matches any character
other than a, b, or c. [^A-Z] matches any single
character that is not an uppercase letter.
Matches any character in the range. [a-z] matches any
lowercase letter. You can mix characters and ranges:
[abcq-z] matches a, b, c, q, r, s, t, u, v, w, x, y, z, and so
does [a-cq-z].
The dash (-) character is literal only if it is the last or the
first character within the brackets: [abc-] or [-abc].
Preserves trailing or leading spaces in the string. For
example, " test" preserves the leading space when it
looks for a match.
Specifies the beginning of a line.
When used with a metacharacter, matches a literal
character. For example, \[ matches the left square
bracket.
Cisco Router and Security Device Manager 2.5 User's Guide
Parameter Maps
37-31

Advertisement

Table of Contents
loading

This manual is also suitable for:

Router and security device manager 2.5

Table of Contents