You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -55,8 +55,8 @@ And the code is easier to debug than macros.
55
55
| p - q | Match p and q, if both success return result of p. |
56
56
| p * q | Match p and q, if both success return result of q. |
57
57
| p >> q | Parse p and get result P, then parse and return result of q(P). |
58
-
| -p | Success when p success, doen't consume input. |
59
-
| !p | Success when p fail, doen't consume input. |
58
+
| -p | Success when p success, doesn't consume input. |
59
+
| !p | Success when p fail, doesn't consume input. |
60
60
|p.opt()|Make parser optional. Returns an `Option`.|
61
61
|p.repeat(m..n)|`p.repeat(0..)` repeat p zero or more times<br>`p.repeat(1..)` repeat p one or more times<br>`p.repeat(1..4)` match p at least 1 and at most 3 times<br>`p.repeat(5)` repeat p exactly 5 times|
62
62
|p.map(f)|Convert parser result to desired value.|
0 commit comments