        "\"d\" [EBNF rule=\"a\" | \"b\" | \"c\" EBNF] ."
        "Peg parsing error at character position 0.\nExpected token 'c' or token 'b' or token 'a'"
     }
-} 
+}
 ;
 
 ARTICLE: "peg.ebnf.option" "Option"
 "Any rule element followed by a question mark (?) is considered optional. The "
 "rule is tested against the input. If it succeeds the result is stored in the AST. "
-"If it fails then the parse still suceeds and false (f) is stored in the AST."
-{ $examples
-    { $example 
+"If it fails then the parse still succeeds and false (f) is stored in the AST."
+{ $examples
+    { $example
        "USING: prettyprint peg.ebnf ;"
        "\"abc\" [EBNF rule=\"a\" \"b\"? \"c\" EBNF] ."
        "V{ \"a\" \"b\" \"c\" }"

"goes. The AST result is a vector containing the results of each rule element in "
"the sequence."
{ $examples
    { $example 
       "USING: prettyprint peg.ebnf ;"
       "\"abbba\" [EBNF rule=\"a\" (\"b\")* \"a\" EBNF] ."
       "V{ \"a\" V{ \"b\" \"b\" \"b\" } \"a\" }"
    }
} 
;

ARTICLE: "peg.ebnf.choice" "Choice"

"from the input string. The AST result is the vector of the AST results from "
"the matched rule. This will be empty if there are no matches."
{ $examples
    { $example
       "USING: prettyprint peg.ebnf ;"
       "\"aab\" [EBNF rule=\"a\"* \"b\" EBNF] ."
       "V{ V{ \"a\" \"a\" } \"b\" }"
