[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Powerful regular expression.



For those interested, I compiled an extended regular expression
with the following characteristics:

~/Mail/archive>egrep 'Subject:' spam* | wc --lines
   2411
~/Mail/archive>egrep 'REGEXP-HERE' spam* | wc --lines
   1603

In other words: it catches 2 out of 3 spams!

The number of false positives is *minimal*:

~/Mail>cat * | egrep 'Subject:' | wc --lines
   2139
~/Mail>cat * | egrep 'REGEXP-HERE' | wc --lines
      2

In other words, I have 0.1% false positives.

I'll post the regular expression in the next mail,
but I don't expect it to pass the filter of this mailinglist...
(If it does it would be hmmmmm).

-- 
Carlo Wood <carlo@alinoe.com>
-
Spamfilter:    spam magnet and regexp collector / blocker
Archive:       http://mail.nl.linux.org/spamfilter/
Website:       http://spamfilter.nl.linux.org/