At 03:04 AM 8.5.2003 -0500, Scott A Crosby wrote:
>
>Set up two rules, one which matches all obfuscated&correct versions,
>and a negative rule to undo it if everything is correct.
>
>Using your example:
>
>> body REMOVE_OBFUSCATE
>>
/(Rem[oO0]ve|De[lL1]ete).{0,10}y[oO0]ur.{0,10}([3e]-?mai[lL1]|[EMAIL PROTECTED])/i
>> describe REMOVE_OBFUSCATE       Remove y0ur e-mail
>
>With a score of 5
>
>One note, [abc] is much more efficient than (a|b|c), and its also
>shorter.
>
>> body REMOVE_OBFUSCATE_CORRECT
>> /(Remove|Delete).{0,10}your.{0,10}(e-?mail|address)/i
>> describe REMOVE_OBFUSCATE       Remove y0ur e-mail
>
>With a score of -4 or -5. 
>
>Anytime this negative rule matches, it must also match the above
>positive rule, so this can either fully or partially cancel out the
>above high score in the case of a correct spelling.
>
>Scott
>

Scott: This rule looked useful & I just tried it but SA says it can't parse
either line...??

What did I miss... thanks!

Best regards,
Jack L. Stone,
Administrator

Sage American
http://www.sage-american.com
[EMAIL PROTECTED]


-------------------------------------------------------
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