At 01:53 PM 10/29/2003, Chris Santerre wrote:
SUBJECT_XXX
and in it, it has naughty words. One of which it looks for is :
/pen.s/i

Rather than do the ^oO thing, why not modify your . to exclude spaces:


/pen\Ss/

This will look for a "non whitespace" in that spot.

I'd also suggest putting a \b at the beginning and end to force a word boundary.. you're really looking for the word penis or some mangling of it, not as a part of a larger word.

/\bpen\Ss\b/


You could also restrict it further by using only specific characters that are abused to obscure the word penis:


pen[i1!*()l]s

For that matter, you might want to replace the s with [s$*52]




------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to