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

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

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