summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>1998-07-30 15:23:56 -0400
committerGurusamy Sarathy <gsar@cpan.org>1998-08-08 22:21:52 +0000
commit8e680dc37b34060770f3573bebbd4e34de1c230e (patch)
treea8b509f692f61cc097b2271571e0b064e6f50da6 /regexec.c
parent84df6dbaac5dcce30923bafc61c52f3ffa1b669b (diff)
downloadperl-8e680dc37b34060770f3573bebbd4e34de1c230e.tar.gz
[5.005_50 PATCH] misprint in RE engine
Message-Id: <199807302323.TAA21175@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@1761
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index 17f1e1ae7d..59aabdfcdb 100644
--- a/regexec.c
+++ b/regexec.c
@@ -444,7 +444,7 @@ regexec_flags(register regexp *prog, char *stringarg, register char *strend,
s = HOP(s, -back_max);
}
else {
- char *t = (last1 >= PL_bostr) ? HOP(last1, 1) : last + 1;
+ char *t = (last1 >= PL_bostr) ? HOP(last1, 1) : last1 + 1;
last1 = HOP(s, -back_min);
s = t;