Description Usage Arguments Examples
Chained-by combinator
| 1 | p %chain_by% op
 | 
| p | A parser. | 
| op | A parser. | 
| 1 2 3 4 5 6 7 | p15 <- one_of(as.character(0:9)) %chain_by% literal("+")
p15("1+")        # success:  list("1", "+"))
p15("1+2+")      # success:  list("1+2", "+"))
p15("1+2+;")     # success:  list("1+2", "+;"))
p15("1+2+3+;")   # success:  list("1+2+3", "+;"))
p15("1;2+;")     # success:  list("1", ";2+;"))
p15("+1+2+3+;")  #   fail :  list()
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.