procmail
[Top] [All Lists]

Re: match problem or procmail bug: anti pharmaceutical SPAM filter

2005-05-12 08:14:54
Ralph SOBEK wrote:

<> bs   = "\\"
<> spc = "([-.,@#$%&*()+=|:;!^_/1$bs])?"
<> a    = "([a(_at_)]|/$bs)"

[...]

<> Surprisingly, removing $bs from $a:
<> 
<> a    = "([a(_at_)]|/)"
<> 
<> clears up the "Invalid regexp"message, and clears up the false
<> positive:

Inside a bracket expression you shouldn't escape the backslash. The
bracket expression does an alternation on the list of characters within
it, so "\\" is seen as the same character twice (or, it is seen as a
problem and ignored)

Reto
-- 
R A Lichtensteiger              rali(_at_)tifosi(_dot_)com

        "Man was born free; and everywhere is in chains."
         Jean-Jacques Rousseau, The Social Contract

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>