• .[{()\*+?|^$
• . matches any character
• \. matches a literal "." character
• \\ matches a literal "\" character
• (string1|string2) matches either string1 or string2
Anchors require that an expression is found in a particular place within a string, but do not match any
characters (zero width assertions)
• \b matches a word boundary (start or end of a word)
• ^ matches the start of a line
• $ matches the end of a line
Character classes match a particular type of character
• \s matches any whitespace character
• \w matches any word character (a-z, A-Z, 0-9 and "_")
• \d matches any digit
• [abc] matches any one character a, b or c
Quantifiers apply to the previous term:
• * matches 0 or more of the previous term
• + matches 1 or more of the previous term
For example:
• ^aa matches lines that start with aa
• bb$ matches lines that end with bb
• cc matches ccd, acc, and accd
• ab*c matches ac, abc and abbc
• a\d+b matches a2b and a23456b, but not ab
• a.c matches abc, but not ac or abbc
• a.*c matches ac, abc and adefghb
• a[bcd]e matches abe, ace and ade, but not abcde
• It is (lunch|dinner) time matches "It is lunch time" or "It is dinner time"
Task — Adding a new dictionary
1
Go to
|
Email Policies
|
Dictionaries
.
2
Click
Add Dictionary
and specify its details:
• Type the name of the dictionary
• Optionally provide a description
• Select whether you want to match simple strings or regular expressions
Overview of Email features
Email Policies
152
McAfee Email and Web Security Appliances 5.6.0 Product Guide
Summary of Contents for MAP-3300-SWG - Web Security Appliance 3300
Page 1: ...Product Guide McAfee Email and Web Security Appliances 5 6 0 ...
Page 6: ......
Page 20: ......
Page 28: ......
Page 58: ......
Page 206: ......
Page 310: ......
Page 322: ......
Page 324: ......
Page 326: ......
Page 333: ......
Page 334: ......
Page 335: ......
Page 336: ...700 2647A00 00 ...