On Sat, Jul 25, 2009 at 2:03 PM, Craig A. Berry<craig.a.berry@gmail.com> wrote: > On Sat, Jul 25, 2009 at 9:38 AM, Bram<p5p@perl.wizbit.be> wrote: > >> Patch attached. > > Thanks, now in blead at: > > http://perl5.git.perl.org/perl.git/commitdiff/b7bfa85 > Bram's change prevents the debugger from exercising the pathology reported. My change here: http://perl5.git.perl.org/perl.git/commitdiff/d80618d prevents the regex engine from losing track of where its strings end when there is a regex inside of a regex, thus guarding against the memory errors observed. Note that other aspects of regex state are not saved and restored and a regex inside of a regex is still unsupported and is unlikely to produce correct results. perltodo.pod already mentions the desired behavior of full reentrancy for the regex engine.Thread Previous | Thread Next