Vocabularypeg.
parsersInputsOutputsWord descriptionReturns a parser that matches n or more repetitions of the input parser.
ExamplesUSING: peg peg.parsers prettyprint ;
"aaa" "a" token 4 at-least-n parse => exception
USING: peg peg.parsers prettyprint ;
"aaaa" "a" token 4 at-least-n parse .
V{ "a" "a" "a" "a" }
USING: peg peg.parsers prettyprint ;
"aaaaa" "a" token 4 at-least-n parse .
V{ "a" "a" "a" "a" "a" }
See alsoexactly-n,
at-most-n,
from-m-to-nDefinition