Skip to content

Commit

Permalink
Merge pull request #203 from iacore/fix-1
Browse files Browse the repository at this point in the history
Document peg grammar: 0
  • Loading branch information
bakpakin authored Apr 15, 2024
2 parents 7494644 + 100a358 commit eb34168
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/docs/peg.mdz
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ languages.
@td{ The literal string. }}

@tr{@td{3 (an integer)}
@td{ Matches a number of characters, and advances that many characters.
@td{
If positive, matches a number of characters, and advances that many characters.
If 0, counts as an (empty string) match.
If negative, matches if not that many characters and does not advance.
For example, -1 will match the end of a string. }}

Expand Down

0 comments on commit eb34168

Please sign in to comment.