Trait magic_regexp::AsRegex

source ·
pub trait AsRegex: ToString {
    fn as_regex(&self) -> Result<Regex> { ... }
}
Expand description

A trait, which allows to convert something to a regex. Mostly needed to work with this lib and Regex crate.

Provided Methods§

Returns the regex, which represents the wanted statement.

Implementations on Foreign Types§

Implementors§