Cisco 7604 Configuration Manual page 388

Catalyst 6500 series switch and cisco 7600 series router firewall services module configuration guide using the cli
Hide thumbs Also See for 7604:
Table of Contents

Advertisement

Configuring Special Actions for Application Inspections (Inspection Policy Map)
Table 20-1
Character Description
.
(exp)
|
?
*
+
{x} or {x,} Minimum repeat quantifier
[abc]
[^abc]
[a-c]
""
^
\
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
20-12
regex Metacharacters
Dot
Subexpression
Alternation
Question mark
Asterisk
Plus
Character class
Negated character class
Character range class
Quotation marks
Caret
Escape character
Chapter 20
Notes
Matches any single character. For example, d.g matches
dog, dag, dtg, and any word that contains those
characters, such as doggonnit.
A subexpression segregates characters from surrounding
characters, so that you can use other metacharacters on
the subexpression. For example, d(o|a)g matches dog
and dag, but do|ag matches do and ag. A subexpression
can also be used with repeat quantifiers to differentiate
the characters meant for repetition. For example,
ab(xy){3}z matches abxyxyxyz.
Matches either expression it separates. For example,
dog|cat matches dog or cat.
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, and so on.
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 at least x times. For example, ab(xy){2,}z
matches abxyxyz, abxyxyxyz, and so on.
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.
Using Modular Policy Framework
OL-20748-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

7609-s76137606-sCatalyst 6500 series7600 series

Table of Contents