CodeQL library for Java
codeql/java-all 0.6.1 ( changelog , source )
Search

Predicate Impl :: isPossessive

Holds if term is a possessive quantifier, e.g. a*+.

Import path

import semmle.code.java.regex.RegexTreeView
predicate isPossessive ( RegExpQuantifier term )