Module regexpreplace

Module regexpreplace 

Source
Expand description

Regex expressions

Macrosยง

fetch_string_arg ๐Ÿ”’
Get the first argument from the given string array.

Structsยง

RegexpReplaceFunc

Functionsยง

_regexp_replace_early_abort ๐Ÿ”’
_regexp_replace_static_pattern_replace ๐Ÿ”’
Special cased regex_replace implementation for the scenario where the pattern, replacement and flags are static (arrays that are derived from scalars). This means we can skip regex caching system and basically hold a single Regex object for the replace operation. This also speeds up the pre-processing time of the replacement string, since it only needs to processed once.
regex_replace_posix_groups ๐Ÿ”’
replace POSIX capture groups (like \1) with Rust Regex group (like ${1}) used by regexp_replace
regexp_replace
Replaces substring(s) matching a PCRE-like regular expression.
regexp_replace_func ๐Ÿ”’
specialize_regexp_replace
Determine which implementation of the regexp_replace to use based on the given set of arguments.