CodeQL library for Java/Kotlin
codeql/java-all 1.1.0 (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)