procmail
[Top] [All Lists]

Re: Problems with procmail regexp and <...>

2005-07-21 06:41:23
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 ?? ^^\/[^>]+


which is still far less accurate than what Dallman suggested.

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