Function mz_expr::scalar::func::regexp_replace_parse_flags
source · pub(crate) fn regexp_replace_parse_flags(flags: &str) -> (usize, Cow<'_, str>)
Expand description
Sets limit
based on the presence of ‘g’ in flags
for use in Regex::replacen
,
and removes ‘g’ from flags
if present.