procmail
[Top] [All Lists]

Re: 'nuther msgid pattern?

2003-02-04 11:58:29
On Tue, 4 Feb 2003 dman(_at_)nomotek(_dot_)com wrote:

fleet(_at_)teachout(_dot_)org wrote:

Is there a way to say "4 or 5 digits"?  Something like [$N[$N]]@ maybe?

That's what the question mark does in a regular expression.

      $N?

means "zero or one $Ns".

Doh! Thanks.  Messing around I made an error and discovered that the last
portion can be 3 or 6 digits also - so am using the + now as in:

:0 c: #message-id <10digits.3-6digits
* $ ^Message-ID:[         ]*<$N$N$N$N$N$N$N$N$N$N\.$N$N$N+@
folder

(And put the $ in the expression line - another "doh")

                                - fleet -


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail