procmail
[Top] [All Lists]

Re: strlen() in procmail

2003-01-15 15:35:27
Bart Schaefer <schaefer(_at_)zanshin(_dot_)com> wrote:

However, that gave me the clue I needed to come up with this:

* (^In-Reply-To:[^<]+<\/[^>]+|^^(.|$)*^^)

The "extraneous" anchoring in ^^(.|$)*^^ forces a scan of the full header,
during which the subexpression I actually care about matches before
reaching the end, and MATCH gets set properly.

Whew.


Wow.  Cool beans.

-- 
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>