We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f3a0db commit 160ff42Copy full SHA for 160ff42
Doc/reference/grammar.rst
@@ -15,6 +15,7 @@ except for a few extra complications:
15
* ``&e``: a positive lookahead (that is, ``e`` is required to match but
16
not consumed)
17
* ``!e``: a negative lookahead (that is, ``e`` is required *not* to match)
18
+* ``~`` ("cut"): commit to the current alternative, even if it fails to parse
19
20
.. literalinclude:: ../../Grammar/python.gram
21
:language: peg
0 commit comments