procmail
[Top] [All Lists]

Re: regarding OR's on multiple lines

2008-06-16 20:08:22
Charles Gregory wrote:

BE CAREFUL ABOUT WHITESPACE! DO NOT INDENT CONTINUATION LINES,
or the whitespace will be embedded in your regex.

Not true. Whitespace left of the trailing backslash will be embedded in the regexp, but you may indent the continuation lines all you like, and whitespace will be ignored (unless protected by a leading backslash or surrounding parentheses or brackets).

And one last note, from the one who has experienced it:
Be careful not to let any whitespace slip in after the "\"
at the end of the line, or truly confusing errors will result.

Now that's for sure. The backslash must be the last character on the line, not just the last visible one.
____________________________________________________________
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