CodeQL library for Java/Kotlin
codeql/java-all 0.11.0 (changelog, source)

Member predicate Impl::RegExpRange::getUpperBound

Gets the upper bound of the range, if any.

If there is no upper bound, any number of repetitions is allowed. For a term of the form r{lo}, both the lower and the upper bound are lo.

int getUpperBound()