Fix broken formatting in grammar language example (#375)

This commit is contained in:
wackbyte 2024-02-12 13:53:38 -05:00 committed by GitHub
parent 7ab86588c0
commit ec7880d4a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -800,7 +800,7 @@ Specifically:
* `[]` are used for regex-style character matches, where any character between
the brackets will be a single match. `\` is used to escape `\`, `[`, and
`]`. They also support character ranges (`0-9`), and negation (`^`)
* `-` is used for "except for" or "minus" whatever follows it. For example, `a
- `'x'` means "any `a`, except something that matches the literal `'x'`".
* `-` is used for "except for" or "minus" whatever follows it. For example,
`a - 'x'` means "any `a`, except something that matches the literal `'x'`".
* The prefix `^` means "something that does not match" whatever follows it.
For example, `^foo` means "must not match `foo`".