CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.6.23 (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)