At 14:41 2003-12-09 -0500, Birl wrote:
So by your definition, everything except @ should match until EOLN.
His definition isn't correct.
Whatever matches the regexp after the match operator, will be stored in
$MATCH. Plain and simple. If you actually WANT the rest of the line,
beyond some specific limiting text, you'd actually need to include a wildcard:
From: <sam_dufus(_at_)domain(_dot_)tld> "Sam Doofus"
* ^From:.*\<\/[-(_dot_)+_a-z0-9](_at_)domain\(_dot_)tld
Would match "sam_dufus(_at_)domain(_dot_)tld"
* ^From:.*\<\/[-(_dot_)+_a-z0-9](_at_)domain\(_dot_)tld(_dot_)*
Would require the explicit text to match, but would be the remainder of the
line:
sam_dufus(_at_)domain(_dot_)tld> "Sam Doofus"
You really aught to set up a sandbox and spend some time experimenting with
procmail regexps to get a feel for them.
BTW - you could use a LOT less of the original messages for context when
replying.
---
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