mirror of https://github.com/kdl-org/kdl.git
Make multi-line-string-body non-greedy
This commit is contained in:
parent
3b75764880
commit
907e5fc608
|
|
@ -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