EBNF Rule: One or more

Prev:EBNF Rule: Option
Next:EBNF Rule: Zero or more

Any rule element followed by a plus (+) matches one or more instances of the rule from the input string. The AST result is the vector of the AST results from the matched rule.

USING: prettyprint peg.ebnf ; "aab" EBNF[[ rule="a"+ "b" ]] .
V{ V{ "a" "a" } "b" }