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