procmail
[Top] [All Lists]

Re: escaping special characters (in general)

1995-10-29 16:26:39
Our friend, dummy(_at_)emf(_dot_)net, wrote:

 > From: Soren Dayton <csdayton(_at_)midway(_dot_)uchicago(_dot_)edu>
 > Date: Fri  Oct 27,  1:36pm
 >
 >    If you are using procmail 3.11, $\foo will escape regex
 > metacharacters in foo
 > 
 > Soren

Is this supposed to be able to work with ^TO, as in:

:0:
*^TO$\foo(_at_)bar(_dot_)com
foo

?  This doesn't seem to work for me.

        Ahh.  I think that I mispoke.  If foo is the name of a variable, then

        $\foo with be replaced by something with the metacharacters escaped.
In your case you need to do it by hand

Soren