You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by qu...@apache.org on 2004/07/20 20:43:05 UTC

svn commit: rev 23088 - spamassassin/trunk/rules

Author: quinlan
Date: Tue Jul 20 11:43:05 2004
New Revision: 23088

Modified:
   spamassassin/trunk/rules/20_drugs.cf
Log:
bug 3620: correct fix for pathologically slow DRUG_DOSAGE rule
my apologies, I thought this had committed, but there was a conflicting
commit which wasn't mentioned in the bug


Modified: spamassassin/trunk/rules/20_drugs.cf
==============================================================================
--- spamassassin/trunk/rules/20_drugs.cf	(original)
+++ spamassassin/trunk/rules/20_drugs.cf	Tue Jul 20 11:43:05 2004
@@ -63,7 +63,7 @@
 ###########################################################################
 # body rules
 
-body DRUG_DOSAGE		m{\$? *[0-9.]+ *\$? *(?:\\|/|per) *d.?o.?s.?e}i
+body DRUG_DOSAGE		m{[\d\.]+ *\$? *(?:[\\/]|per) *d.?o.?s.?e}i
 describe DRUG_DOSAGE		Talks about price per dose
 
 # jm: keep this case-sensitive, otherwise it FP's