procmail
[Top] [All Lists]

Re: How to avoid s/\n/ /g when unfolding a header

2004-12-12 18:00:25
On Mon, Dec 13, 2004 at 12:55:07AM +0100, Robert Allerstorfer wrote:

On Sun, 12 Dec 2004, 18:27 GMT+01 Dallman Ross wrote:

 SPACE = " "

[...]

 * $ MATCH ?? $SPACE$SPACE

as a side-note, this will always match. To match only when there are 2
spaces next to each other, the condition must be

   * $ MATCH ?? "()$SPACE$SPACE"

Good catch.

-- 
dman

____________________________________________________________
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