Hi Philip, That is indeed the behavior I am looking for :-)
Best Regards, Paul -----Original Message----- From: Philip Hazel [mailto:[email protected]] Sent: donderdag 2 september 2010 18:39 To: Praet Paul Cc: [email protected] Subject: Re: [pcre-dev] determine if regular expression only matches fixed-length strings On Thu, 2 Sep 2010, Praet Paul wrote: > Does PCRE offer a way of determining if the regular expression only > matches fixed-length strings ? Not at present. I think it would be fairly easy to add such a feature, because it just has to remember whether any non-fixed quantifiers were encountered while compiling. But would this be useful? A pattern such as A|BC|DEF would come out as "matches fixed-length strings", but they are not all the same length. Philip -- Philip Hazel -- ## List details at http://lists.exim.org/mailman/listinfo/pcre-dev
