On 14.06.15 16:52, Ruud H.G. van Tol wrote:
I didn't test it yet, but I think that .* is non-greedy outside of
matches (and greedy within), so it should work fine also for plussed
addresses.
[ Very nifty test harness ]
$ echo "To: abc(_at_)def(_dot_)ghi foo(_dot_)bar+baz(_at_)test(_dot_)com
rst(_at_)uvw(_dot_)xyz" | ./testrc
Starting ...
FOUND
MATCH: foo(_dot_)bar+baz(_at_)test(_dot_)com
Done.
Many thanks Ruud, for sharing the elegant procmail regex test method.
Now I don't have to guess so much, and the list can be spared a little
traffic. (Though it doesn't harm to brush off the cobwebs collectively
once in a while, I think.)
Erik
____________________________________________________________
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