develooper Front page | perl.perl5.porters | Postings from June 2013

[perl #112894] Use of (?| ...) breaks \G or vice-versa

Thread Previous
From:
James E Keenan via RT
Date:
June 17, 2013 01:43
Subject:
[perl #112894] Use of (?| ...) breaks \G or vice-versa
Message ID:
rt-3.6.HEAD-2552-1371433390-1254.112894-15-0@perl.org
On Sat Jun 23 05:30:03 2012, demerphq wrote:
> On Mon Jun 18 12:57:33 2012, sprout wrote:
> > On Mon Jun 18 10:55:15 2012, demerphq wrote:
> > > On 18 June 2012 19:53, yves orton via RT <perlbug-followup@perl.org>
> > wrote:
> > > > Hrm, this is an unfortunate side effect of how the implementation 
> of
> > > > C< (?|..) > and (?-1) work together. �The \G is actually 
> irrelevant as
> > > > without it the pattern matches at a different place and does not 
> use (?
> > > > -1) to match.
> > > >
> > > > I had hoped that named captures would solve this problem, but they
> > suffer
> > > > from the same thing. I will investigate further.
> > > 
> > > I also noticed a weird parse bug if you write the original pattern
> > > with (?&1) which needs to be fixed as well.
> > 
> > You mean bug #101666?
> > 
> 
> Yes, thanks for the pointer. I have now resolved the problem and closed 
> that ticket.
> 
> cheers,
> yves
> 
> 
> 
> 


Yves, can we get an update on the status of *this* RT?

Thank you very much.
Jim Keenan

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=112894

Thread Previous


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