Function glob_to_regex

Source
pub fn glob_to_regex(pattern: &str) -> 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.