summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-07-25 04:56:56 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-07-25 04:56:56 +0000
commitadac82c7012022865800c6235e0a0d8b8710e279 (patch)
treed4115ed17a218f6e06aed4c85487d807842bdc85 /regexec.c
parent7399586d384137f7ae66bcc82a83b0df7dd429e5 (diff)
downloadperl-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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/regexec.c b/regexec.c
index e40d1c7ea7..e69c4ffd4e 100644
--- a/regexec.c
+++ b/regexec.c
@@ -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 */