procmail
[Top] [All Lists]

Re: puzzled about a regexp

2003-01-14 04:39:04
"Ruud H.G. van Tol" <rvtol(_at_)isolution(_dot_)nl> wrote:

        ext='(a(d[ep]|r[cj]|s[dmxp]|u|vi)|\
              z(ip|oo)\
             )'

Doesn't that include whitespace in the regexp?

No.

Line continuation markers allow for such formatting without
reading the whitespace into the buffer.


From `man procmailrc':


       Leading  whitespace on continued regular expression condi­
       tion lines  is  usually  ignored  (so  that  they  can  be
       indented),  but  not on continued condition lines that are
       evaluated according to the sh(1) substitution rules inside
       double quotes.

-- 
dman


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