CodeQL library for Python
codeql/python-all 1.0.3-dev (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()