Skip to main content

parse_regex_list

Function parse_regex_list 

Source
fn parse_regex_list(
    config: &HashMap<String, Value>,
    key: &str,
) -> Result<Vec<Regex>, String>
Expand description

Parses a config key as an array of non-empty regex strings, compiling each at config load. An absent key yields an empty list.