On Wed, Feb 27, 2002 at 11:21:30AM -0600, Mark Roedel wrote:
> Posix character classes (a la [:lower:]) were apparently introduced in
> Perl at v5.6.0. Is there anything in particular that'd be lost by
> changing [:lower:] to [a-z] to maintain compatibility with the v5.0
> line? (Otherwise, this rule throws out an error message that "Character
> class syntax [: :] is reserved for future extensions" for at least the
> version of Perl that's included with a base FreeBSD installation.)
Yeah, I just installed SA 2.1 on a RH 6.2 box with perl 5.005, and it
started matching SUBJ_ALL_CAPS for what seemed like every message. I
changed it to:
header SUBJ_ALL_CAPS Subject =~ /^[A-Z0-9\W]{6,}$/
And now it seems to be happy again. Was this rule change some kind of
localization fix?
Dan.
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk