CodeQL library for Java/Kotlin
codeql/java-all 4.2.1 (changelog, source)
Search

Predicate Impl::isExcluded

Holds if the regular expression should not be considered.

We make the pragmatic performance optimization to ignore regular expressions in files that do not belong to the project code (such as installed dependencies).

Import path

import semmle.code.java.regex.RegexTreeView
predicate isExcluded(RegExpParent parent)