procmail
[Top] [All Lists]

Re: If VARIABLE = (this|orthis|orthat)

2001-11-29 13:00:47
At 10:23 2001-11-29 -0800, Professional Software Engineering wrote:
:0:
* SENDER ?? (^|[^-a-zA-Z0-9_.])($useraddrsexpression)($|[^-a-zA-Z0-9_.])
test.match

No sooner had I hit send than I realized that I omitted the leading $ on this match condition, which is necessary to expand the useraddresses:

* SENDER ?? $ (^|[^-a-zA-Z0-9_.])($useraddrsexpression)($|[^-a-zA-Z0-9_.])

(I'd quickly removed the explicit adddresses from the expression and replaced with a variable to represent them, thus dereferencing the specific addresses being matched, because they weren't important to the expression).

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