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

Predicate Impl::isPossessive

Holds if term is a possessive quantifier. As python’s regexes do not support possessive quantifiers, this never holds, but is used by the shared library.

Import path

import semmle.python.regexp.RegexTreeView
predicate isPossessive(RegExpQuantifier term)