EBNF Rule: One or more
EBNF

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.

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