CodeQL library for Python
codeql/python-all 2.2.0 (changelog, source)
Search

Predicate Impl::isIgnoreCase

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

Import path

import semmle.python.regexp.RegexTreeView
predicate isIgnoreCase(RegExpTerm root)