Rejo Zenger <rejo(_at_)sisterray(_dot_)xs4all(_dot_)nl> writes:
++ 07/01/01 13:55 -0600 - Philip Guenther:
# Build a regexp to match the correct line.
# The $\variable syntax escapes egrep-style regex metacharacters
# and tacks "()" on to the front. For example, if the newsgroup
# name in MATCH were "nl.comp.lang.c++", then this would expand
# to "^()nl\.comp\.lang\.c\+\+[ ].*[ ]Running\."
Just to be sure (english is not my first language), by using \$VAR
instead of just $VAR the variable will be expanded differently by
escaping metacharacters? Do i understand this correctly?
That's $\VAR, not \$VAR, but you have the idea. Procmail puts a backslash
in front of each occurance of any of the following characters:
(|)*?+.^$[\
and starts the whole which with "()".
On a related note, the whitespace as used in $regex is a space and tab.
Is order important here?
Nope.
Philip Guenther
Procmail Maintainer
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail