Expand description
Regex expressions
Macrosยง
- fetch_
string_ ๐arg - Get the first argument from the given string array.
Structsยง
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.