On Wednesday 13 March 2002 02:56 pm, Matthew Cline wrote: > On Wednesday 13 March 2002 02:57 am, Matthew Cline wrote: > > body PORN_12 > > /(?:(?:\bxxx|\bsex|\bslut|\bwhore|\bhottest\b|hard-?core|\bhorny\b|\bhorn > >ie st\b|\bvirgin|\bnaughty\b|\bnaughtiest\b|\bwebcam||\ble[sz]b(?:ian|o) > > describe PORN_12 Uses words and phrases which indicate > > porn > > Ooops, that regexp is incomplete, and doesn't even compile properly; > that'll teach me to not writre regexps an 2 in the morning. Here's one > that works: > > body PORN_12 > /(?:(?:\bxxx|\bsex|\bslut|\bwhore|\bhottest\b|hard-?core|\bhorny\b|\bhornie >st\b|\bvirgin|\bnaughty\b|\bnaughtiest\b|\bwebcam||\ble[sz]b(?:ian|o)).{0,7} >){2,}/i
That had a "||" in it, which matches everything. body PORN_12 /(?:(?:\bxxx|\bsex|\bslut|\bwhore|\bhottest\b|hard-?core|\bhorny\b|\bhorniest\b|\bvirgin|\bnaughty\b|\bnaughtiest\b|\bwebcam|\ble[sz]b(?:ian|o)).{0,7}){2,}/i -- Visit http://dmoz.org, the world's | Give a man a match, and he'll be warm largest human edited web directory. | for a minute, but set him on fire, and | he'll be warm for the rest of his life. [EMAIL PROTECTED] ICQ: 132152059 | _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk