Skip to main content

normalize_label

Function normalize_label 

Source
pub fn normalize_label(s: &str) -> String
Expand description

CM 4.7: case-fold + whitespace-collapse, leading/trailing trimmed. Backslash escapes are NOT unescaped here, so [foo\!] and [foo!] match different labels.