maybe {Ramble} | R Documentation |
maybe
matches 0 or 1 of pattern p
. In EBNF notation, this
corresponds to a question mark ('?').maybe
matches 0 or 1 of pattern p
. In EBNF notation, this
corresponds to a question mark ('?').
maybe(p)
p |
is the parser to be matched 0 or 1 times. |
maybe(Digit())("123abc")
maybe(Digit())("abc123")