Closed pavel-esir closed 2 weeks ago
When split pattern is empty both RE2 and PCRE2 get_next_match return matching curr_begin and curr_end and enter infinite loop since start was not incremented. Need to exit cycle when that happens.
get_next_match
curr_begin
curr_end
start
CVS-150821
When split pattern is empty both RE2 and PCRE2
get_next_match
return matchingcurr_begin
andcurr_end
and enter infinite loop sincestart
was not incremented. Need to exit cycle when that happens.CVS-150821