Table: Expression types lists the types of expressions that you can use in content filtering policy conditions.
Table: Expression types
How messages are matched
Symantec Brightmail Gateway provides the templates that you can use when you create a new content filtering policy.
You can also use these templates to copy their predefined regular expressions into any of the following locations:
These templates contain the regular expressions that are applicable to the type of rule that you can create with them. For example the Canadian Social Insurance Number template contains the regular expressions that can identify Canadian Social Insurance numbers.
When matched against a message subject line, matches on a line-by-line basis.
When matched against the message body, matches against the entire body text, not on a line-by-line basis.
Perl-compatible regular expressions
You can use the regular expressions that behave like Perl regular expressions when you create conditions for a content filtering rule. To use Perl expressions, you must use either matches regular expression or does not match regular expression as a policy condition. Symantec Brightmail Gateway supports PCRE version 6.6.
For more information about Perl-compatible regular expressions, see: http://www.perl.com/doc/manual/html/pod/perlre.html.
When matched against a message header, matches on a line-by-line basis.
When matched against the message body or attachments, matches against the entire body text, not on a line-by-line basis.
Symantec Brightmail Gateway uses different analyses when it scans messages for expression matches. If you specify a condition that uses a regular expression, Symantec Brightmail Gateway performs a regular expression analysis. If you specify a condition that uses a keyword or dictionary, Symantec Brightmail Gateway performs a text search.