Re: Matching literal dot in To

Erik Christiansen <[email protected]> Mon, 15 Jun 2015 01:29:37 +1000
Newsgroups gmane.mail.procmail
Message-ID <20150614152937.GG3379@ratatosk>
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: [email protected] [email protected] [email protected]" | ./testrc
> 
> Starting ...
> FOUND
> MATCH: [email protected]
> 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