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

Predicate RegExpTreeView::isDotAll

Holds if root has the s flag for multi-line matching.

Import path

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