public static CorsPolicyBuilder builderForOriginRegex(String regex) {
        return builderForOriginRegex(Pattern.compile(requireNonNull(regex, "regex")));
    }
Returns a new {@link CorsPolicyBuilder} with origins matching the {@code regex}.
core/src/main/java/com/linecorp/armeria/server/cors/CorsPolicy.java