[Python-Dev] mail.python.org black listed ?!
Tim Peters
tim@digicool.com
Tue, 24 Jul 2001 18:49:50 -0400
[Ken Manheimer]
> How about a spam-estimate of 0-9? Pretty darn easy to match.
[Skip Montanaro]
> You're unfortunately back to trying to make numeric comparisons or
> using fairly complex regular expressions to perform the comparisons.
> The poor saps using Netscape would have to have four rules to match a
> 60% or higher spam probability.
I don't use Netscape or know which flavor of regexps it supports, but I
don't know of any regexp pkg that lacks character-class support. That is,
in Python regexp syntax,
r"X-Spam-Whatever:\s+[6-9]" # match >= 60%
r"X-Spame-Whatever:\s+[0-5]" # match < 60%
r"X-Spame-Whatever:\s+[2357]" # match int(spamprob/10) is prime
> This discussion almost certainly doesn't belong on python-dev. Is
> there a more appropriate Python-related list already in existence in
> which to hatch these ideas?
Only one that comes to mind is the numerics list, since this *is* about
numeric comparisons, and has the potential to become ugly <wink>>