CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.6.21-dev (changelog, source)
Search

Predicate RegExpTreeView::isIgnoreCase

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

Import path

import semmle.javascript.security.regexp.RegExpTreeView
predicate isIgnoreCase(RegExpTerm root)