CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.15-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)