[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Regex question - Re: [Pan-users] ANN: Pan 0.14.2
From: |
Wolf J. Flywheel |
Subject: |
Regex question - Re: [Pan-users] ANN: Pan 0.14.2 |
Date: |
Sun, 31 Aug 2003 18:40:49 -0400 |
User-agent: |
KMail/1.5.2 |
On Sunday 31 August 2003 13:11, Charles Kerr wrote:
> This is the same as 0.14.1 + a fix for the config.xml corruption bug
> discussed on pan-users earlier. Tarballs are up now, RPMS are
> encouraged.
I've put it in place and it does seem more robust than 0.14.0, at least
in its ability to load my headers without crashing. :)
Possibly related to the bugs involving regex filters, now in the log
Pan
puts a couple of lines like "Can't use regular expression
"^.*[[:<:]]free[[:>:]].*$": Invalid character class name". (Actually, in
the score file, it's "FREE".) Now, that one is supposed to catch the
ever-popular spam that screams about "FREE (SEX|WAREZ|FRUIT)..." and the
[[:<:]]/[[:>:]] constructs are supposed to indicate word boundaries.
Therefore, any subject that contains "blah blah FREE blah" should be
scored down a bit.
I got my regex information from the Bash documentation... should I be
using a different sort of regex?
--
// Carl Hudkins :: Jabber address@hidden :: PGP 50238D9E
//
// "German beer is chemical-free / Germany's all right with me!"
// --"Why Aye Man", Mark Knopfler
pgpsmCSoN_xfq.pgp
Description: signature