summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-11-05 23:24:24 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-11-05 23:24:24 +0000
commitcf27e83cadf62074789d2433ea86ae71021b0fc9 (patch)
tree776d2f50c6790033b44d6dc16d0fb868d4147d28 /regexec.c
parent0d735f06e0f813bbe2fe9867ba364137ed054447 (diff)
downloadperl-cf27e83cadf62074789d2433ea86ae71021b0fc9.tar.gz
EXACT correction attempt. Continued in #12863.
p4raw-id: //depot/perl@12861
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regexec.c b/regexec.c
index b20e15df82..98fcb650c3 100644
--- a/regexec.c
+++ b/regexec.c
@@ -2211,7 +2211,7 @@ S_regmatch(pTHX_ regnode *prog)
sayNO;
if (*((U8*)s) != utf8_to_uvchr((U8*)l, &len))
sayNO;
- s++;
+ s += len;
l += len;
}
else
@@ -2220,7 +2220,7 @@ S_regmatch(pTHX_ regnode *prog)
sayNO;
if (*((U8*)l) != utf8_to_uvchr((U8*)s, &len))
sayNO;
- s += len;
+ s++;
l++;
}
locinput = l;