procmail
[Top] [All Lists]

Re: matching words that are laced with html

2003-10-30 10:29:48
At 09:06 2003-10-30 -0700, Scott Wiersdorf wrote:

Udi, ".*" is stingy. It won't eat the whole string unless it's on the
right of the \/ operator. Further, it is legal HTML to put a hyphen
between comments: <!-- this - is - a - comment -->, so the character
class probably wouldn't work all the time.

If you want a character class, then use:

        [^>]*

You just want to stop before the end of the tag construct.

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.


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