mirror of https://github.com/kdl-org/kdl.git
Prevent accidentally consuming triple quotes in multi-line-string-body
This commit is contained in:
parent
c7412278b8
commit
a7562ef0a3
|
|
@ -991,7 +991,7 @@ quoted-string :=
|
|||
(multi-line-string-body newline)?
|
||||
(unicode-space | ws-escape)* '"""'
|
||||
single-line-string-body := (string-character - newline)*
|
||||
multi-line-string-body := ('"' | '""' | string-character)*?
|
||||
multi-line-string-body := ('"' ^'"' | '""' ^'"' | string-character)*?
|
||||
string-character :=
|
||||
'\\' (["\\bfnrts] |
|
||||
'u{' hex-unicode '}') |
|
||||
|
|
|
|||
Loading…
Reference in New Issue