On Wed, 3 Sep 2003 09:58:40 -0700 (PDT), Regis Wilson wrote: >I have a rule for HTML comments much like: > >rawbody HTML_COMMENTS /<!.*>/ >score HTML_COMMENTS 0.05 > >But I want them to add up. Five matches is .25, ten matches is .5, etc. Is >there a special way to make each match count separately?
Not a good rule anyhow, but you've heard of rules such as OBFUSCATING_COMMENT ?? Anyhow, one could do: rawbody HTML_COMMENTS_1 /<!.*>{1,4}/ rawbody HTML_COMMENTS_5 /<!.*>{5,9}/ rawbody HTML_COMMENTS_10 /<!.*>{10,}/ S. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk