Yes, you lose non-US locales working. The change was actually in response to a question from someone who receives Russian email where the subject line is /^[^a-z]*$/ but contains no capital letters, ie for Russian locale, it's not /^[^[:lower:]]$/ -- of course it didn't completely fix his problem, but that's another story. I wasn't aware of the problem with these POSIX-style classes. I'll rewrite the pattern, which I was going to do anyway but I think the best way to do it requires bugzilla #47 to be finished first.
C Mark Roedel wrote: > Date: Wed, 27 Feb 2002 11:21:30 -0600 > From: Mark Roedel <[EMAIL PROTECTED]> > To: Bart Schaefer <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > Subject: RE: [SAtalk] Latest SUBJ_ALL_CAPS rule in CVS > > > -----Original Message----- > > From: Bart Schaefer [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, February 26, 2002 9:39 AM > > To: [EMAIL PROTECTED] > > Subject: [SAtalk] Latest SUBJ_ALL_CAPS rule in CVS > > > > > > diff -r1.32 -r1.33 > > 47c47 > > < header SUBJ_ALL_CAPS Subject =~ /^[A-Z0-9\W]{6,}[^a-z]+$/ > > --- > > > header SUBJ_ALL_CAPS Subject =~ /^[^[:lower:]]{6,}$/ > > 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.) > > > --- > Mark Roedel | "Blessed is he who has learned to laugh > Systems Programmer | at himself, for he shall never cease > LeTourneau University | to be entertained." > Longview, Texas, USA | -- John Powell > > > _______________________________________________ > Spamassassin-talk mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/spamassassin-talk > > > _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk