Function glob_to_regex_ext

Source
pub fn glob_to_regex_ext(
    pattern: &str,
    ignore_case: bool,
) -> Result<Regex, Error>
Expand description

Parse a shell glob-like pattern into a regular expression.

See the module-level documentation for a description of the pattern features supported.

ยงErrors

Most of the crate::error::Error values, mostly syntax errors in the specified glob pattern.