Function parse_normalize_rule

Source
fn parse_normalize_rule(raw_value: &str) -> Option<(String, String)>
Expand description

Parses the regex and replacement values of a //@ normalize-* header, in the format:

"REGEX" -> "REPLACEMENT"