mirror of https://github.com/kdl-org/kdl.git
remove: solidus (forwardslash) from escape chars
This commit is contained in:
parent
f1138915d8
commit
3244cbae1f
3
SPEC.md
3
SPEC.md
|
|
@ -302,7 +302,6 @@ interpreted as described in the following table:
|
|||
| Carriage Return | `\r` | `U+000D` |
|
||||
| Character Tabulation (Tab) | `\t` | `U+0009` |
|
||||
| Reverse Solidus (Backslash) | `\\` | `U+005C` |
|
||||
| Solidus (Forwardslash) | `\/` | `U+002F` |
|
||||
| Quotation Mark (Double Quote) | `\"` | `U+0022` |
|
||||
| Backspace | `\b` | `U+0008` |
|
||||
| Form Feed | `\f` | `U+000C` |
|
||||
|
|
@ -437,7 +436,7 @@ type := '(' identifier ')'
|
|||
string := raw-string | escaped-string
|
||||
escaped-string := '"' character* '"'
|
||||
character := '\' escape | [^\"]
|
||||
escape := ["\\/bfnrt] | 'u{' hex-digit{1, 6} '}'
|
||||
escape := ["\\bfnrt] | 'u{' hex-digit{1, 6} '}'
|
||||
hex-digit := [0-9a-fA-F]
|
||||
|
||||
raw-string := 'r' raw-string-hash
|
||||
|
|
|
|||
Loading…
Reference in New Issue