:0:
* -150^0
* 30^2 ^Subject:.*\!
folder
There are other examples, but this is a straightforward one. Problem
is, it scores as if there was only one '!'.
Yeah. The problem is that '^Subject' only occurs once, of course, so
the condition will only match once.
An alternative might be something like:
MATCH=
:0:
* -150^0
* 30^1 ^Subject:.*\/!+
* 30^2 MATCH ?? [!]
folder
so long as you want to count the number of adjacent !'s rather than the
total number of !'s. If you want the latter, I guess a Subject test of
* 30^1 ^Subject:.*\/!.*!
or something of that ilk would do the job.
Or is that not what you're after?
Martin
--
Martin McCarthy /</ PGP key available
`Procmail Companion' \>\ http://www.ancient-scotland.co.uk
Addison Wesley /</ http://www.ehabitat.demon.co.uk
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail