On Thu, 21 Jul 2005, Ruud H.G. van Tol wrote:
Udi Mottelo schreef:
* .*\/[^>]+
* MATCH ?? .*<\/.+
At the left of the \/ there is minimal matching, so the ".*" will always
exactly match 0 characters, so it has no use there.
Since you want the "<" in the MATCH, and Tad used a "^" anchor, I think
that you meant:
* ^<\/[^>]+>:
* MATCH ?? ^^\/[^>]+
Actually if you omit the ">:" at the end of the first line
you will not need the second line:
procmail: Assigning "MATCH="
procmail: Matched "anyaddress(_at_)anydomain(_dot_)com"
procmail: Match on "^<\/[^>]+"
which is still far less accurate than what Dallman suggested.
Right. we talk about specifically case where we know how the
input looks like.
Bye,
Udi
--
Grtz, Ruud
____________________________________________________________
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
+++++++++++++++++++++++++++++++++++++++++++
This Mail Was Scanned By Mail-seCure System
at the Tel-Aviv University CC.
---------------------------------------------------------------------------
Udi Mottelo - Unix System Administrator.
Faculty of Engineering - Tel-Aviv University
E-Mail: uuddii(_at_)eng(_dot_)tau(_dot_)ac(_dot_)il Phone: +972-3-6409446
---------------------------------------------------------------------------
____________________________________________________________
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