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

Member predicate Impl::RegExpTerm::isUsedAsRegExp

Holds if this term is part of a string literal that is interpreted as a regular expression.

predicate isUsedAsRegExp()