On Thu, 31 Jul 2003, C. Regis Wilson wrote: > obfuscatedmatch("prescription") > > which processes the string with all the infamous tricks > that spammers use (i and 1, o and 0, a and @, gaps, etc.) > Ideally, obfuscatedmatch would add more weight than a > regular match. Someone talking innocently about their home > mortgage won't spell it [EMAIL PROTECTED] :)
Sure; it'd also have to make sure it returned false (or a lower weight) if it was _not_ obfuscated. The pattern you proposed for prescription, for example, matches 'prescription' as well as 'p R 3 s C r 1 P t 1 0 N'. So maybe it needs a little bit of && !/[Pp]rescription/ tacked onto the end... -- Fred Hicks <iago AT iago DOT net> "Curse you iago and your fast fingers!" - Rob Donoghue Fate RPG - http://www.evilhat.com/fate/ Check out my famous friend - http://www.jim-butcher.com/ ------------------------------------------------------- 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