procmail
[Top] [All Lists]

Re: word/line/address-separators (was: matching multiple lines)

2002-04-12 10:52:45
Ruud asked,

| I have read of a way to force escapes of special characters in a
| variable holding a regexp, but can't remember where I read it.
| Maybe it was a '??' syntax variant.

It's a special procmailism:

 $\VAR

will be expanded to the value of $VAR with an empty pair of parentheses
prepended and all regexp metacharacters backslashed.



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