procmail
[Top] [All Lists]

Re: $ and ()

1997-08-05 06:55:00
On Tue, 05 Aug 1997 06:54:28 -0500,
Philip Guenther <guenther(_at_)gac(_dot_)edu> wrote:
era eriksson <era(_at_)iki(_dot_)fi> writes:
On Mon,  4 Aug 97 22:46:27 -0400,
Timothy J Luoma <luomat+procmail(_at_)luomat(_dot_)peak(_dot_)org> wrote:
If I want to match _either_ of these Subjects but ONLY these
exact Subject, is this the way?
* ^Subject: (Read Receipt|Mottagarkvitto)$
Strictly speaking, the $ will match an embedded newline in a
multi-line Subject. This would be a legal Subject field:
Bzzzt.  Procmail handles header field wrapping internally, such that the
regexp engine acts like the embedded newline isn't there.

Ooops. Please accept my red-faced apology.

/* era */

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>

<Prev in Thread] Current Thread [Next in Thread>