mirror of https://github.com/kdl-org/kdl.git
Add unicode-space to raw string
This commit is contained in:
parent
65a06289b4
commit
83f4c374b9
2
SPEC.md
2
SPEC.md
|
|
@ -873,7 +873,7 @@ ws-escape := '\' (unicode-space | newline)+
|
|||
hex-digit := [0-9a-fA-F]
|
||||
|
||||
raw-string := '#' raw-string-quotes '#' | '#' raw-string '#'
|
||||
raw-string-quotes := '"' single-line-raw-string-body '"' | '"""' newline multi-line-raw-string-body newline '"""'
|
||||
raw-string-quotes := '"' single-line-raw-string-body '"' | '"""' newline multi-line-raw-string-body newline unicode-space* '"""'
|
||||
single-line-raw-string-body := '' | (single-line-raw-string-char - '"') single-line-raw-string-char*? | '"' (single-line-raw-string-char - '"') single-line-raw-string-char*?
|
||||
single-line-raw-string-char := unicode - newline - disallowed-literal-code-points
|
||||
multi-line-raw-string-body := (unicode - disallowed-literal-code-points)*?
|
||||
|
|
|
|||
Loading…
Reference in New Issue