This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
/..\G/: use chars, not bytes
authorDavid Mitchell <davem@iabyn.com>
Wed, 2 Dec 2015 14:53:59 +0000 (14:53 +0000)
committerDavid Mitchell <davem@iabyn.com>
Wed, 2 Dec 2015 15:13:59 +0000 (15:13 +0000)
commit4cf1a8671a76422d533dc736bb493fe337c71937
tree097e8f8272928067f9fe61e4de726021f841eed5
parent30773234952bc812474fe0c956f7ce14e822e0cd
/..\G/: use chars, not bytes

In something like /..\G/, the engine should start trying to match two
chars before pos(). It was actually trying to match two bytes before.
regexec.c
t/re/subst.t