diff options
author | Hugo van der Sanden <hv@crypt.org> | 2000-07-13 20:27:13 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-07-13 23:32:25 +0000 |
commit | 2a8d968921bf85a89f4bb388b94f9acdd8b1f27f (patch) | |
tree | 614a35c2279dc638757bfe7052275a27a63d14ad /regcomp.c | |
parent | 1b01e11d751fb6e4f4dad94700c05ae36686df44 (diff) | |
download | perl-2a8d968921bf85a89f4bb388b94f9acdd8b1f27f.tar.gz |
The {multiplier} of a fixed substring was overlooked which
caused a wrong initial search offset for that substring.
Subject: [PATCH 5.6.0] Re: [ID 20000613.001] Regex works in v5.005_03 but fails in v5.06
Message-Id: <200007131827.TAA14487@crypt.compulink.co.uk>
p4raw-id: //depot/cfgperl@6392
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -901,6 +901,9 @@ S_study_chunk(pTHX_ regnode **scanp, I32 *deltap, regnode *last, scan_data_t *da sv_catsv(data->last_found, last_str); data->last_end += l * (mincount - 1); } + } else { + /* start offset must point into the last copy */ + data->last_start_min += minnext * (mincount - 1); } } /* It is counted once already... */ |