Function graphannis_core::util::compile_and_parse_regex
source ยท pub fn compile_and_parse_regex(pattern: &str) -> Result<(Regex, Hir)>
Expand description
Parse a string as both a Regex
that can be used for matching and as the
more abstract Hir
representation that gives as information such as
prefixes for this regular expression.