On Mon, 2002-01-28 at 07:04, Greg Ward wrote: > If you read the regex carefully, you'll realize that there are some odd > restrictions on that line of yelling: > * it must be at least 45 characters long > * there must be a "word" at least 5 characters long in the middle, > at least 20 characters from either end
That's it. The line in my spam that was longer than 45 characters was 48 and the words right in the middle were three or four characters long. You can get a lot of yelling in using four letter words :-) Looking at CVSWeb I see that the rule was changed in cvs file version 1.37 to not match on a line of all spaces with a single nonspace character in the middle, for example. But I think that this case shows that requiring a 5 character word in the middle of a 45 character line is too restrictive. The comments show that the rule had earlier been modified to not match on a line with all spaces. I think it has to not match on lines like this: 1. FEATURES Maybe it would be better to require two or three words of at least four letters? Or keep the previous rule's minimum length of 40 characters? > Here's a slightly subtler variation: > > /^[A-Z0-9\$\.,\'\!\?\s]+$/ && /\b[A-Z]+\b/ > > Same as above except the line must contain a complete uppercase word. I think it needs to not match short headings. -- sidney _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk