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

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

Thread Next
From:
yves orton via RT
Date:
June 18, 2012 10:53
Subject:
[perl #112894] Use of (?| ...) breaks \G or vice-versa
Message ID:
rt-3.6.HEAD-5009-1340041979-742.112894-15-0@perl.org
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.

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

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