Re: [pcre-dev] Recursion with possessive quantifiers

Top Page
Delete this message
Author: ND
Date:  
To: pcre-dev
Subject: Re: [pcre-dev] Recursion with possessive quantifiers
On Wed, 18 May 2011 20:29:41 +0400, Philip Hazel <ph10@???>
wrote:

> I suppose that theoretically it should be possible to
> remember only the last back-up point, but because the saving is done by
> recursive calls, I can't see how to do that.
>

It is a pity that the all potential power of possessive quantifiers can't
be use.
May be it possible in this case to save every next back-up point over the
previous (in the same memory block)?
I have a Windows and a restricted stack size. I have a 10-100 thousands
repetitions, and the pcre_exec is excessively angry to memory.