procmail
[Top] [All Lists]

handling spacing in patterns

1997-08-20 04:55:38

Rik> You recently posted to procmail-l the following recipe snippet. It has
Rik> two problems of which you should be aware.

"reply (with)? (the)? (word)? ['"]?remove['"]? in the (subject|body)"

Rik> 1) You fail to include leading or trailing spaces with optional text.
Rik> 2) Your recipe does not detect phrases which are split over more than


Hi Rik, yes you're right (as you know). That's why I wrote "match on
some regexp like this", because I wanted to post something that was
(more) readable.

Anyway, I'm happy to read your reply (and David's modification of it),
because I wasn't thinking about multiple lines when I posted, and I
wouldn't have used \>, so thanks a lot.


Terry.

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