CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.14 (changelog, source)
Search

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