between

infix fun KetexToken.between(range: IntRange): KetexToken

Appends a range quantifier ({1,3}) to the current token.

Matches the specified quantity of the previous token. {1,3} will match 1 to 3.