Frank Bures:
Ruud H.G. van Tol:
I found what my problem probably is: My trigger strings contain "$"
character. Properly escaped as "\$", but I believe it is
interpreted some way I do not fully understand.
Change the \$ to [$] to make it survive any reparsing.
In particular: Regexp ' \$[a-z]+' properly catches words starting
with "$" that have at least one space in front of them. However, if
used in conjunction with "${SPACE}", it sometime catches a perfectly
normal word at the beginning of a new line that has no "$" in it.
A bare $ matches a newline.
That's not what I meant.
It actually is what you meant:
The '\$' gets reparsed to '$', making it a regexp-special to match a
newline.
Change it into a '[$]' and it is protected against perpetual reparsing.
--
Grtz, Ruud
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail