parv skribis:
Ruud H.G. van Tol:
:0:
* ^Subject:[ ]*\[\/[^]]+\]
* MATCH ?? ()\/[^]]+
IN-${MATCH}
is the same as
:0:
* ^Subject:[ ]*\[\/[^]]+
IN-${MATCH}
not really, to pick nits, as that will match...
Subject: [polka ; in pennsylvania
Subject: [polka-dot bikini & tie
You're right, a 2-step-match is always necessary to match
what's between a starting and ending. It would be nice if
a second '\/' would mark the end of a match, then you would
be able to write * ^Subject:[ ]*\[\/[^]]+\/\]
--
Affijn, Ruud
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail