procmail
[Top] [All Lists]

Re: if $MATCH starts with a newline

1997-11-20 14:26:59
Excerpts from mail: (20-Nov-97) Re: if $MATCH starts with a newline by David W 
Tamkin
I couldn't get patch to accept it for the 3.11pre7 code, so I edited it in
by hand (actually, I prepended "/*" to the "if" line) and recompiled.

That's strange. I used 3.11pre7 as the basis for the code change...

It worked dandily.  If the pattern to the right of \/ matched text that began
with a real newline, it remained intact in $MATCH; a putative newline, whe-
ther it was matched by ^^, ^, or $, was duly dropped.

Excellent! Thanks for confirming that, David! I really hope Stephen will
incorporate it in the next version he releases. It simplifies a great number
of my recipes considerably.

Later,
Ed

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