Function liboskar::error::check_regex[][src]

pub fn check_regex(re: &str) -> Regex

Check that the user-supplied regex is valid. If not, fail gracefully.