procmail
[Top] [All Lists]

Re: regular expression syntax

2003-08-27 16:12:28
On Wed, Aug 27, 2003 at 02:54:12PM -0700, Professional Software Engineering 
wrote:
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...

I don't think so. In fact, in my I have:

       These regular expressions are completely compati-
       ble  to  the  normal  egrep(1)  extended regular expressions.

[...]

      The  following tokens are known to both the procmail internal
      egrep and the standard egrep(1) (beware that some egrep  implementations
      include other non-standard extensions):

The answer to the riddle is that {2,} type syntax is a "non-standard
extension" (though possibly quite commonplace nonetheless) per previous
discussions on this list and not supported by procmail, and likely
never will be.

-- 
Hal Burgiss
 

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