procmail
[Top] [All Lists]

Re: Partially no filtering

2003-07-30 11:19:07

Several people are ranting on about the difference between . and \. in a regexp. Yea, I bet we all comprehend that . will match more than what \. will, but several of of the posters seem to have lost sight of the originally suggested regexp transformation, which should explain why the original posters original regexp didn't work, and the suggested change did (even though several people are harping on about how the original regexp should have matched anyway).

Originally the user was utilizing:

* ^From: root(_at_)home(_dot_)tux(_dot_)de

While the one which Birl suggested was:

* ^From:(_dot_)*root(_at_)home\(_dot_)tux\(_dot_)de

Note that while the dots are escaped, as they should be, the more significant difference is that Birl accomodates leading crap on the address field, which is the real reason the new recipe works.
---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.


_______________________________________________
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>