To match a subject line that contains any character from a given set
three times in a row, Don Hammond suggested:
* ^Subject:.*\/[-!-,:-(_at_)]
* $ ^Subject:.*$MATCH$MATCH$MATCH
This won't work in all cases because even if there's a character from
that set that appears three times in a row in the subject line, the
first condition won't necessarily assign that particular character to
MATCH. Take
Subject: -Yeah!!!-
as an example: MATCH is set to "-" in the first condition, the second
therefore checks for "---" and fails. (You didn't see this in the
tests you posted earlier because you only tried "555", "567" and
"666", but nothing like "5666".)
/HW
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail