Make a parser that expects at least min and at most max sequential matches of the same parser.
min
max
A nonmatch is returned if there are less than min matches.
Does not consume more than max matches.
Equivalent to takeN when min and max set to the same value - prefer using that.
Equivalent to many when neither min nor max is set - prefer using that.
A parser.
Minimum number of matches to take.
Maximum number of matches to take.
Make a parser that expects at least
min
and at mostmax
sequential matches of the same parser.A nonmatch is returned if there are less than
min
matches.Does not consume more than
max
matches.Equivalent to takeN when
min
andmax
set to the same value - prefer using that.Equivalent to many when neither
min
normax
is set - prefer using that.