liboskar::error
pub fn check_regex(re: &str) -> Regex
Check that the user-supplied regex is valid. If not, fail gracefully.