Regular Expressions - McAfee VLF09E002RAA - VirusScan Professional 2005 User Manual

User guide
Table of Contents

Advertisement

Working With Blocked and Accepted Messages

Regular expressions

Regular expressions are only available for the following filter conditions:
subject
These special characters and sequences can be used as regular expressions when
defining filter conditions. For example:
\
Marks the next character as either a special character or a literal. For example, "n""
matches the character "n". "\n" matches a new line character. The sequence "\\"
matches "\" and "\(" matches "(".
^
Matches the beginning of input.
$
Matches the end of input.
*
Matches the preceding character zero or more times. For example, "zo*" matches
either "z" or "zoo".
+
Matches the preceding character one or more times. For example, "zo+" matches
"zoo" but not "z".
?
Matches the preceding character zero or one time. For example, "a?ve?" matches
the "ve" in "never".
.
Matches any single character except a new line character.
(pattern)
Matches pattern and remembers the match. The matched substring can be
retrieved from the resulting Matches collection, using Item [0]...[n]. To match
parentheses characters ( ), use "\(" or "\)".
®
46
McAfee
SpamKiller
,
The message text
The regular expression
engineering notation. The regular expression matches: "12.12", ".1212", and
"12.0", but not "12" and "12".
The regular expression
"SpamKi11er" and V1AGRA" but not "SpamKiller" and "VIAGRA".
®
software version 7.0
,
At least one of the following phrases
matches floating point numbers given non
[0-9]*\.[0-9]+
matches all words with numbers:
\D*[0-9]+\D*
The
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Virusscan 10.0

Table of Contents