public static boolean isValidMetaKey(String key) {
        return META_KEY_PATTERN.matcher(key).matches();
    }
Key can only contain A-Z a-z 0-9 _ and -.
@param key
@return
registry/registry-consul/src/main/java/com/alipay/sofa/rpc/registry/consul/ConsulUtils.java