Skip to main content

label

Function label 

Source
pub fn label(value: &[u8]) -> bool
Expand description

Label::isValid() on a string: 1 to 63 bytes of lowercase ASCII letters, digits and hyphens, not starting or ending with a hyphen. (ctype_alnum() of what is left without the hyphens, so a label of hyphens only is refused.)