diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-25 04:56:56 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-25 04:56:56 +0000 |
commit | adac82c7012022865800c6235e0a0d8b8710e279 (patch) | |
tree | d4115ed17a218f6e06aed4c85487d807842bdc85 /regexec.c | |
parent | 7399586d384137f7ae66bcc82a83b0df7dd429e5 (diff) | |
download | perl-adac82c7012022865800c6235e0a0d8b8710e279.tar.gz |
fix little utf8 nits in testsuite; add patch from Ilya that cures
a utf8 bug in one of the new RE optimizations
p4raw-id: //depot/perl@3730
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -321,6 +321,7 @@ Perl_re_intuit_start(pTHX_ regexp *prog, SV *sv, char *strpos, && (sv && (strpos + SvCUR(sv) != strend)) ) goto fail; + PL_regeol = strend; /* Used in HOP() */ s = (char*)HOP((U8*)strpos, prog->check_offset_min); if (SvTAIL(prog->check_substr)) { slen = SvCUR(prog->check_substr); /* >= 1 */ |