On 28 January 2002, Sidney Markowitz said:
> 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

Oops, good point -- my simple-minded test would have flagged that.

> Maybe it would be better to require two or three words of at least four
> letters?

Easy enough, if I keep assuming I can cram two regexes into one test:

   /^[A-Z0-9\$\.,\'\!\?\s]+$/ && /(\b[A-Z]{4,}\s*){2,}/

If I've got everything right, that'll require at least two adjacent
words of four letters each.

Anyways, I'm just pottering around.  Hopefully someone who can do
something has noticed that LINE_OF_YELLING is too picky in 2.0...

> Or keep the previous rule's minimum length of 40 characters?

Easy enough, just change the + in my first regex to {40,} -- or whatever
minimum length works.

        Greg
-- 
Greg Ward - software developer                [EMAIL PROTECTED]
MEMS Exchange                            http://www.mems-exchange.org

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to