procmail
[Top] [All Lists]

Howto use variables in regexp's ???

2003-09-25 13:23:32
This should be so simple; but, I cannot see the error to my ways ;<

In ~/.procmailrc, I have this:

WS="    "

Yes, I have checked, and redone it, and it is one (1) space and one (1)
tab.

This does work:

* 1^0 ^subject:[        ]*$

This does *NOT* work:

* 1^0 ^subject:[$WS]*$

What am I missing?

-- 
Best Regards,

mds
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--

Attachment: pgpnHhkXULcC1.pgp
Description: PGP signature

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