public void setExcludedPatterns(Iterable<String> regularExpressions) {
        excludedPatterns.clear();
        regularExpressions.forEach(this::excludeRegex);
    }
<p>Setter for the field <code>excludedPatterns</code>.</p>

@param regularExpressions a {@link java.util.Collection} object
pac4j-core/src/main/java/org/pac4j/core/matching/matcher/PathMatcher.java