Hello Ruud,
On Mon, 27 Feb 2006, 15:31 GMT+01 Ruud H.G. van Tol wrote:
Robert Allerstorfer schreef:
* $ ^to:[$WS]+\/.+
That is not a good way to do it. Because \/ is "greedy to the left", the
"[$WS]+" is equivalent to just "[$WS]", so you can end up with a $MATCH
that starts with whitespace. (And if there would be no whitespace
following the colon, $MATCH would not be changed.)
This is what everybody else uses:
* $ ^To:.*\/[^$WS].*
thank you, right, I will be sure to use that instead for now on. I am
just wondering why
* $ ^To:.*\/[^$WS].+
won't work.
rob.
____________________________________________________________
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