procmail
[Top] [All Lists]

Re: sequence matches

2003-10-10 17:07:46
At 23:36 2003-10-10 +0200, Ralph Müller wrote:

  :0 f
  * ^Message-ID: .{60}
  | ...

it matches no time, even if the Message-ID is longer
than 60 atoms! Why?

Because that syntax isn't supported by procmail's regexp engine.

You _could_ use something like:

:0 f
* ^Message-ID: \/.*
* -59^0
* 1^1 MATCH ?? .
| ...

If you're simply trying to cound characters within the Message-ID field.

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.



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


<Prev in Thread] Current Thread [Next in Thread>