summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-07-14 10:49:37 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-07-14 10:49:37 +0000
commit3ae08724085c050ef6bd2c7af042aa714c2ad9d9 (patch)
treeed42eb257a307d5ee6924455d8cb7c6aaffe569a /regcomp.c
parent01ec43d06089361423d61a40521883bf73e1944a (diff)
parent29d1e993db685c67acc489087a44f0e4137e296c (diff)
downloadperl-3ae08724085c050ef6bd2c7af042aa714c2ad9d9.tar.gz
integrate cfgperl contents into mainline
p4raw-id: //depot/perl@6400
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/regcomp.c b/regcomp.c
index 89b3e53bab..db099ad218 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -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... */