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=112894Thread Next