Greg Ward said:
> Here's a candidate replacement test using two regexes: > > /^[A-Z0-9\$\.,\'\!\?\s]+$/ && /[A-Z]/ > > This will match any line that consists solely of caps, digits, and > punctuation *as long as it contains at least one letter*. > > Can you define tests that way in the .cf files? Or would that have to > be coded as an "eval"? > > 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. Problem, though; both of those match C 2.3 4.55 100 121 lines of that format commonly crop up, for example, in reports. It needs to be smarter about how many uppercase letters appear. --j. _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk