On Aug 05 at 11:26, Philip Guenther spoke:
There is no fully general method of emulating backreferences in the
regular expressions understood by procmail or POSIX egrep. If you need
backreferences then you'll need to invoke grep:
# The first condition keeps us from invoking grep if the
# Subject doesn't contain any of the required characters
Yes. I appreciate this.
# and extracts the part of the subject that does contain
# them. That value (in the MATCH variable) is then fed
# into grep in the second condition for the 'real' test.
:0
* ^Subject:[^-!-,:-(_at_)]*\/[-!-,:-(_at_)](_dot_)*
* MATCH ?? ? grep '\([-!-,:-(_at_)]\)\1\1'
action-here
Yes. That's what I've been looking for.
Thank you.
-Hanspeter
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail