procmail
[Top] [All Lists]

Re: regex syntax question

2004-03-19 10:52:57
On Fri, Mar 19, 2004 at 05:46:32PM +0100, Ruud H.G. van Tol wrote:

or (in the best procmail-only tradition)

    :0E
    * B ?? ^^\/.*
    { B_head = $MATCH }

(untested, as usual)

No, now we have no newlines, again.

    MATCH   # null it out in case body ends up being empty
    :O E
    * B ?? ^^\/(.*$?)*
    { B_head = $MATCH }

-- 
dman

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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