public static String requireLabel(String label) {
        return requireMatch(label, "domain name label", labelPattern);
    }
A valid domain name, which can be used in a {@link java.net.URI}.

@author jonmv
vespajlib/src/main/java/ai/vespa/http/DomainName.java