stringx icon indicating copy to clipboard operation
stringx copied to clipboard

Implement `regexec2` using `stri_locate_first_regex`

Open gagolews opened this issue 3 years ago • 0 comments

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 https://github.com/gagolews/stringi/issues/424 and/or https://github.com/gagolews/stringi/issues/127 is resolved, the current version of regexec2 must be implemented based on stri_locate_all_regex, and this includes some performance penalty.

gagolews avatar Jul 02 '21 03:07 gagolews