stri_locate_first_regex does not distinguish between a non-existing capture group and a no-match to a capture
group in the case of many patterns. Also, it does not return capture group names.
Until gagolews/stringi#424 and/or gagolews/stringi#127 is resolved,
the current version of regexec2 must be implemented based on stri_locate_all_regex, and this includes some performance penalty.
stri_locate_first_regexdoes not distinguish between a non-existing capture group and a no-match to a capturegroup in the case of many patterns. Also, it does not return capture group names.
Until gagolews/stringi#424 and/or gagolews/stringi#127 is resolved,
the current version of
regexec2must be implemented based onstri_locate_all_regex, and this includes some performance penalty.