CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.15-dev (changelog, source)
Search

Predicate RegExpTreeView::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 semmle.javascript.security.regexp.RegExpTreeView
predicate isPossessive(RegExpQuantifier term)