Mailing List Archive

svn commit: rev 6739 - incubator/spamassassin/trunk/lib/Mail/SpamAssassin
Author: duncf
Date: Wed Feb 18 16:06:02 2004
New Revision: 6739

Modified:
incubator/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
Log:
Added support for ? : operator in meta tests (Bug 3038)

Modified: incubator/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
==============================================================================
--- incubator/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm (original)
+++ incubator/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm Wed Feb 18 16:06:02 2004
@@ -1814,7 +1814,7 @@
# Lex the rule into tokens using a rather simple RE method ...
my @tokens =
$rule =~ m/(
- [\w\.\[][\w\.\*\?\+\[\^\]]+| # Rule Name
+ \w+| # Rule Name
[\(\)]| # Parens
\|\|| # Boolean OR
\&\&| # Boolean AND
@@ -1825,6 +1825,7 @@
==| # EQ
!=| # NEQ
[\+\-\*\/]| # Mathematical Operator
+ [\?:]| # ? : Operator
\d+ # A Number
)/gx;