Function compile

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

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