David W. Tamkin wrote:
Rejo Zenger asked,
Is there an easy way to match on multiple lines, regardless where
in the regexp the new line starts?
Rik Kabel had one: use (\<)+ instead of a space. (\>)+ works as
well.
They are also very welcome as email-address-delimiters, like in
* From:.*\.kr\>
From man procmailrc, bout \< and \>: They are merely a shorthand for
`[^a-zA-Z0-9_]', but can also match newlines.
Also from man procmailrc: ^ or $ Match a newline (for multiline
matches).
Beware: the name-part of an email-address could contain an `&'
and a `+'.
Ruud
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail