> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Scott Harris
> > 
> 
> I have a regex type question, I think, about local examples
> like the on above.  Can you put multiple words on a single check
> such as:
> 
> Body  LOCAL_SWEARWORD1        /\bword1\b|\bword2\b|\betc..\b/i 
> 
> Thanks,
> 
> Scott
> 

Scott,
This would probably be a little better & cleaner looking:

body     LOCAL_SWEARWORD /\b(?:word1|word2|word3|word4)\b/i
describe LOCAL_SWEARWORD Message violates corporate policy
score    LOCAL_SWEARWORD 10.0

-matt


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to