On Wed, 29 Oct 2003 09:50:37 -0500 "Jennifer Wheeler" <[EMAIL PROTECTED]> wrote:
> Hi Larry
>
> > I have had some very good success with a rawbody and subject test
> which
> > looks for
> >
> > 4 or more consonants
> > followed by 1 or 2 vowels
> > followed by 3 or more consonants or digits
> >
> > This is the match:
> >
> /[0-9bcdfghjklmnpqrstvwxz]{4,}[aeiouy]{1,2}[0-9bcdfghjklmnpqrstvwxz]{3,}
> /i
>
> Looks interesting. I'll try it out and let you know how it goes.
> Thanks! I believe you can change [0-9bcdfghjklmnpqrstvwxz] to [^aeiouy]
> (Just to shorten it up a smidge.)
[0-9bcdfghjklmnpqrstvwxz] != [^aeiouy]
Do you really want to match punctuation and whitespace,
because both of those will match [^aeiouy]?
Example:
'< a href='
didn't match
/[0-9bcdfghjklmnpqrstvwxz]{4,}[aeiouy]{1,2}[0-9bcdfghjklmnpqrstvwxz]{3,}/
but it did match
/[^aeiouy]{4,}[aeiouy]{1,2}[^aeiouy]{3,}/
-- Bob
-------------------------------------------------------
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