CodeQL library for Python
codeql/python-all 2.1.2-dev (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)