[][src]Function rex_regex::compile

pub fn compile(re: &str) -> Result<CompiledRE, String>

Optimize and compile a regular expression into a representation that can be directly used for matching with match_re().