mz_expr::scalar::like_pattern

Function build_regex

Source
fn build_regex(
    subpatterns: &[Subpattern],
    case_insensitive: bool,
) -> Result<Regex, EvalError>
Expand description

Builds a regular expression that matches some parsed Subpatterns.