procmail
[Top] [All Lists]

Re[2]: regex does not work when used as variable

2003-11-16 04:19:45
Hi again, Alan,

On Sat, 15 Nov 2003, 14:24 GMT+00 (15:24 local time) Alan Clifford
wrote:

and you need to make sure it can identify that the variable is C rather
than, for example, C?iagra.

* $ ^Subject:.*(v${C}?iagra)

I have found that $C does not need to be "protected" by ${C} - I guess
it is because it is followed by a ? which cannot be a part of a
variable name. Therefore,

* $ ^Subject:.*(v$C?iagra)

just works fine.

best,
rob.


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