Skip to main content

Module regex_ops

Module regex_ops 

Source

Functions§

extract
Extract the first capture group from each string element.
extract_compiled
Like extract but takes a pre-compiled Regex (#521).
match_
Test whether each string element matches the given regex pattern.
match_compiled
Like match_ but takes a pre-compiled Regex. Callers that run the same pattern against many arrays can compile the pattern once and reuse it across all calls, avoiding the regex engine’s per-call compilation overhead (#521).