mirror of https://github.com/kdl-org/kdl.git
Fix broken formatting in grammar language example
This commit is contained in:
parent
7ab86588c0
commit
bf6315ea96
4
SPEC.md
4
SPEC.md
|
|
@ -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`".
|
||||
|
|
|
|||
Loading…
Reference in New Issue