Skip to content

Function command::object::host_pattern_ok

zaun_community_protocol::command::object::host_pattern_ok · Function

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

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

Full rustdoc page