* Fix MONEY rule
authorDon Armstrong <don@debian.org>
Tue, 2 Oct 2007 01:58:42 +0000 (01:58 +0000)
committerDon Armstrong <don@debian.org>
Tue, 2 Oct 2007 01:58:42 +0000 (01:58 +0000)
 * Allow spaces between $ and money

git-svn-id: svn+ssh://svn.debian.org/svn/pkg-listmaster/trunk/spamassassin_config@35 0b7a5b0c-1f2c-0410-bd74-c376f8064c91

common/money_spam
common/phrase_spam

index 90a9526..ebee2f5 100644 (file)
@@ -257,7 +257,7 @@ body DMXC               /Look at D-M-X-C!/
 describe DMXC           stock spam
 score DMXC              4
 
-body MONEY             /(\$\s*[\d\.]+|[\d\.]+\s*(usd|yen|euro|dollar)/
+body MONEY             /(\$\s*[\d\.]+|[\d\.]+\s*(usd|yen|euro|dollar))/
 describe MONEY         Some amount of money
 score MONEY            1.5
 
index a2eaeed..27978e2 100644 (file)
@@ -356,7 +356,7 @@ body FOURLA         /\b([A-Z]\s?){4}\b/
 describe FOURLA                Four letter acronym (stock spam?)
 score FOURLA           1
 
-body WORDMONEY         /^\w+\s*:\s*(?:\$[\d\.]+|[\d\.]+\s*USD)/mi
+body WORDMONEY         /^\w+\s*:\s*(?:\$\s*[\d\.]+|[\d\.]+\s*USD)/mi
 describe WORDMONEY     Word Colon Money
 score WORDMONEY                1