mirror of https://github.com/kdl-org/kdl.git
Fix broken formatting in grammar language example (#375)
This commit is contained in:
parent
7ab86588c0
commit
ec7880d4a5
4
SPEC.md
4
SPEC.md
|
|
@ -800,7 +800,7 @@ Specifically:
|
||||||
* `[]` are used for regex-style character matches, where any character between
|
* `[]` are used for regex-style character matches, where any character between
|
||||||
the brackets will be a single match. `\` is used to escape `\`, `[`, and
|
the brackets will be a single match. `\` is used to escape `\`, `[`, and
|
||||||
`]`. They also support character ranges (`0-9`), and negation (`^`)
|
`]`. They also support character ranges (`0-9`), and negation (`^`)
|
||||||
* `-` is used for "except for" or "minus" whatever follows it. For example, `a
|
* `-` is used for "except for" or "minus" whatever follows it. For example,
|
||||||
- `'x'` means "any `a`, except something that matches the literal `'x'`".
|
`a - 'x'` means "any `a`, except something that matches the literal `'x'`".
|
||||||
* The prefix `^` means "something that does not match" whatever follows it.
|
* The prefix `^` means "something that does not match" whatever follows it.
|
||||||
For example, `^foo` means "must not match `foo`".
|
For example, `^foo` means "must not match `foo`".
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue