procmail
[Top] [All Lists]

Re: procmail seems to not work consistently

2003-10-28 12:00:27
On Mon, 27 Oct 2003 12:43:18 -0500, R A Lichtensteiger wrote:
=>   a="[a(/\)@]"

        Procmail "character classes" have different syntax from the rest of
the procmail regex stuff in that (with the exception of a very few "special"
characters when they are in the *first* position of the class such as up-arrow
and close-square-bracket) the class consists of the each and every one of the
characters contained within the open and close square brackets.

        In other words, your variable "a" above consists of these characters:
                "a", "(", "/", "\", ")" and "@"
I think that you are assuming incorrectly that "/\" is defined in this class
because you surrounded it with parens.  Sorry. You could get the result you
apparently want with:
        a = "(a|/\|@)"

        HTH,

        - Don

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