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

Predicate Impl::isDotAll

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

Import path

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