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

Predicate signature isPossessive

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

Import path

import codeql.regex.RegexTreeView
signature predicate isPossessive(RegExpQuantifier term)