At 8/18/03 02:07 PM , Rich Puhek wrote:

body BANNED_CD /banned c/

will not match "Banned CD", but

body BANNED_CD /banned c/i

will match it.

Even better might be: /banned\s*c\s*d/i

I'd *definitely* go with the latter, because either of the first two rules will also catch things like:


   the movie has been banned completely in various nations...
   Congress has banned cloning of certain species...
   types of clothing banned in high schools...
   such-and-so has banned crypto-systems of a certain type...

All these examples I took from articles found on Google with "banned -books" in about three minutes. Admittedly, I changed the sentence structure in most cases to get the C-word right after "banned", but none of these are that unusual.

Tacking on that "d" is a good way to avoid false positives.

                                                --Kai MacTane
----------------------------------------------------------------------
"I hear the roar of a big machine,
 Two worlds and in between;
 Hot metal and methedrine.
 I hear your empire down."
                                                --Sisters of Mercy,
                                                 "Lucretia, My
                                                  Reflection"



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to