[bug](function) fix regexp_extract_all can't handle empty str (#25717)

This commit is contained in:
zhangstar333
2023-10-23 15:47:12 +08:00
committed by GitHub
parent 2c3bc65fae
commit b8452812df
3 changed files with 8 additions and 0 deletions

View File

@ -361,6 +361,7 @@ struct RegexpExtractAllImpl {
}
if (res_matches.empty()) {
StringOP::push_empty_string(index_now, result_data, result_offset);
return;
}