develooper Front page | perl.perl5.porters | Postings from March 2011

[perl #84294] /((\w+)(?{print $2})){2,2}/ problem

Thread Next
From:
yves orton via RT
Date:
March 12, 2011 09:00
Subject:
[perl #84294] /((\w+)(?{print $2})){2,2}/ problem
Message ID:
rt-3.6.HEAD-4136-1299949222-1696.84294-14-0@perl.org
I just pushed to blead the following commit to add TODO test for this:

d774cd11ba563c66e3199abfc3061bdc88e980e0 Add tests for RT #84294
/((\w+)(?{print $2})){2,2}/ problem

And then another to fix it:

92e82afa16f5f1aa1b3e163f6d4656d14c44a4d2 Fix RT #84294 /((\w+)(?{print
$2})){2,2}/ problem

Dave can you please review the fix? The regex state machine is your
baby, and I'm not entirely confident I'm not creating a memory leak or
something equivalently strange.


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About