procmail
[Top] [All Lists]

Re: regular expression syntax

2003-08-27 15:22:12
At 13:42 2003-08-27 -0500, Daniel Liston wrote:
Just curious, if the "{" open curly bracket symbol indicates the
beginning of a sub block of rules, how does one apply a specific
number of characters to a rule?

You don't, at least not with that syntax. The regexp engine used by procmail does not support that syntax. You might find this in the manpages...

For example, does this syntax work?
[snip]

Nope.


For 2-5 digits (for example), you'd have:
        [0-9][0-9][0-9]?[0-9]?[0-9]?


---
 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>