CodeQL library for Java/Kotlin
codeql/java-all 4.2.1 (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)