private Pattern buildRegex(List<String> headers) {
        String joinedPattern = String.join("|", headers);
        return Pattern.compile(joinedPattern, Pattern.CASE_INSENSITIVE);
    }
Constructor.

@param config map of configuration options
gateway/engine/es/src/main/java/io/apiman/gateway/engine/es/EsMetrics.java