CodeQL library for Java/Kotlin
codeql/java-all 4.1.2-dev (changelog, source)
Search

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()