Re: [pcre-dev] Recursion with possessive quantifiers

Page principale
Supprimer ce message
Auteur: Philip Hazel
Date:  
À: ND
CC: pcre-dev
Sujet: Re: [pcre-dev] Recursion with possessive quantifiers
On Sat, 21 May 2011, ND wrote:

> >When you process something like (?>(<EXPR>)*) ...
>
> Is there a possibility to not convert expression with possessive
> quantifiers to this form and write an effective handler?


It is true that single character possessive matches such as a*+ are
handled in a less stack-intensive way. I am not sure if that is possible
for possessive sub-patterns, which themselves can be quite complicated.
I will try to think about this, but do not expect anything soon.

Philip

--
Philip Hazel