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

Predicate Impl::isIgnoreCase

Holds if root has the i flag for case-insensitive matching.

Import path

import semmle.code.java.regex.RegexTreeView
predicate isIgnoreCase(RegExpTerm root)