Skip to main content

host_pattern_ok

Function host_pattern_ok 

Source
pub fn host_pattern_ok(host: &str) -> bool
Expand description

A DNS name, optionally with one leading *. label: letters, digits and -, at least two labels, ≤ 253 bytes, lower case.