procmail
[Top] [All Lists]

Re[3]: \[ works within [...] but \] doesn't

2003-11-16 04:13:39
just a little correction of my recipe: the matching line should better
be

* $ ^Subject:.*((v|[\\]/)$C?(i|1)$C?(a|@)$C?g$C?r$C?(a|o))

because within (v|[\\]/) the escaped backslash \\ must be surrounded
by [] otherwise \/ would be interpreted as $MATCH separator.

This also matches things like \/i(_at_)gra (I received all of those
variants of viagra spam but now I got rid of it)

rob.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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