summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-01-12 15:30:18 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-01-12 15:30:18 +0000
commitee31f4a7377df5584e07a86da31ddf5b070f137c (patch)
treed550f97fcb3d3b8cd7bcd27847ef9536ec3b1a76 /regexec.c
parent768a5ea0152cd76c84eeca20c6dda14a8650f88d (diff)
downloadperl-ee31f4a7377df5584e07a86da31ddf5b070f137c.tar.gz
Mea culpa: I botched up Hugo's "Tw" bug fix when applying it.
p4raw-id: //depot/perl@8414
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 c7d42cda4e..dca2a44be6 100644
--- a/regexec.c
+++ b/regexec.c
@@ -597,14 +597,14 @@ Perl_re_intuit_start(pTHX_ regexp *prog, SV *sv, char *strpos,
DEBUG_r(PerlIO_printf(Perl_debug_log,
", trying anchored starting at offset %ld...\n",
(long)(s1 + 1 - i_strpos)));
- other_last = last; /* Fix this later. --Hugo */
+ other_last = last;
s = HOP3c(t, 1, strend);
goto restart;
}
else {
DEBUG_r(PerlIO_printf(Perl_debug_log, " at offset %ld...\n",
(long)(s - i_strpos)));
- other_last = s + 1;
+ other_last = s; /* Fix this later. --Hugo */
s = s1;
if (t == strpos)
goto try_at_start;