Cisco Cisco Web Security Appliance S380 Guida Utente

Pagina di 824
16-31
Cisco IronPort AsyncOS 7.1 for Web User Guide
OL-23207-01
Chapter 16      URL Filters
Regular Expressions
Note
To match the literal version of any of the special characters, the character must be 
preceded by a backslash “\”. For example, to exactly match a period “.” the regular 
expression must use “\.” as in “\.example\.com”. However, the appliance does not 
support using a backward slash to escape a forward slash. If you need to use a 
forward slash in a regular expression, type the forward slash without a backward 
slash.
[ ]
Matches the characters or digits that are enclosed within the 
brackets. 
For example:
[a-z] matches any character between a and z
[r-u] matches any of the characters r, s, t, or u
[0-3] matches any of the single digits 0, 1, 2, 3
{ }
Specifies the number of times to match the previous pattern. 
For example:
D{1,3} matches one to three occurrences of the letter D
( )
Group characters in a regular expression.
For example:
(abc)* matches abc or abcabcabc
“...”
Literally interprets any characters enclosed within the quotation 
marks.
\
Escape character.
Character
Description