This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #129350] anchored/floating substrings must be utf8 if target is
authorHugo van der Sanden <hv@crypt.org>
Tue, 4 Oct 2016 13:40:11 +0000 (14:40 +0100)
committerHugo van der Sanden <hv@crypt.org>
Tue, 4 Oct 2016 14:02:36 +0000 (15:02 +0100)
commit2814f4b3549f665a6f9203ac9e890ae1e415e0dc
tree8587121c0636eef80c7c842eff140d9d266386a9
parentdbdb57e61cddbe8e7a199ac438f0523d0c20e4ce
[perl #129350] anchored/floating substrings must be utf8 if target is

If the target is utf8 and either the anchored or floating substrings
are not, we need to create utf8 copies to check against. The state
of the two substrings may not be the same, but we were only testing
whichever we planned to check first.
regexec.c
t/re/re_tests