+ fix: Oniguruma update (2020-03-02b)

This commit is contained in:
RaiKoHoff 2020-03-02 16:20:13 +01:00
parent eba33ece92
commit 84c7535c19
2 changed files with 13 additions and 2 deletions

View File

@ -4641,7 +4641,18 @@ onig_regset_search_with_param(OnigRegSet* set,
for (i = 0; i < set->n; i++) {
reg = set->rs[i].reg;
if (reg->threshold_len == 0) {
REGSET_MATCH_AND_RETURN_CHECK(end);
/* REGSET_MATCH_AND_RETURN_CHECK(end); */
/* Can't use REGSET_MATCH_AND_RETURN_CHECK()
because r must be set regex index (i)
*/
r = match_at(reg, str, end, end, s, prev, msas + i);
if (r != ONIG_MISMATCH) {
if (r >= 0) {
r = i;
goto match;
}
else goto finish; /* error */
}
}
}

View File

@ -1 +1 @@
6.9.5
6.9.4