procmail
[Top] [All Lists]

Re: ER with brackets don't works

2006-08-16 11:11:32



If I do this, I would trash arround 90% of legitimate messages.
If I get such messages I do a prefiltering with mimedecode.

    
You might like trying this too:

   S = '[^ ]?'
   V = '([Vv]|\/|\||\|/)'
   I = '[Ii1l|]'
   A = '([Aa]|/\)'
   G = '[Gg9]'
   R = '[Rr]'

   VERBOSE = YES

   :0:
   * ^Subject:\/.*
   *$ MATCH ?? $V$S$I+$S$A+$S$G$S$R$S$A
   in.suspect

   VERBOSE = NO


Hallo

i like to give the above a try but i get a invalid regex

procmail: Assigning "S=[^$WS]?"
procmail: Assigning "V=([Vv]|\/|\||\|/)"
procmail: Assigning "I=[Ii1l|]"
procmail: Assigning "A=([Aa]|/\)"
procmail: Assigning "G=[Gg9]"
procmail: Assigning "R=[Rr]"
procmail: Assigning "MATCH="
procmail: Matched " forecast"
procmail: Match on "^Subject:\/.*"
procmail: Invalid regexp 
"([Vv]|\/|\||\|/)[^$WS]?[Ii1l|]+[^$WS]?([Aa]|/\)+[^$WS]?[Gg9][^$WS]?[Rr][^$WS]?([Aa]|/\)"


can anybody explain please

Matthias

____________________________________________________________
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>