diff options
author | Hugo van der Sanden <hv@crypt.org> | 2000-08-03 19:25:30 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-08-03 23:40:37 +0000 |
commit | 4b2cff9afa2c02937e1460d801fda356385d3841 (patch) | |
tree | fb2ccd078536f7ff30909684dc3dc6aecd3b4635 /regcomp.c | |
parent | 659239a4cd11b2ba8db82db8b10f3ce574b1b819 (diff) | |
download | perl-4b2cff9afa2c02937e1460d801fda356385d3841.tar.gz |
[ID 20000803.001] further regexp counting problems
Message-Id: <200008031725.SAA10580@crypt.compulink.co.uk>
p4raw-id: //depot/perl@6508
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -904,6 +904,8 @@ S_study_chunk(pTHX_ regnode **scanp, I32 *deltap, regnode *last, scan_data_t *da } else { /* start offset must point into the last copy */ data->last_start_min += minnext * (mincount - 1); + data->last_start_max += is_inf ? 0 : (maxcount - 1) + * (minnext + data->pos_delta); } } /* It is counted once already... */ |