From 907e5fc608dd08460a6aa73ea5a8bac18ca8ce63 Mon Sep 17 00:00:00 2001 From: Brandon Chinn Date: Tue, 27 Jan 2026 16:43:50 -0800 Subject: [PATCH] Make multi-line-string-body non-greedy --- draft-marchan-kdl2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draft-marchan-kdl2.md b/draft-marchan-kdl2.md index 8ead2df..3718f18 100644 --- a/draft-marchan-kdl2.md +++ b/draft-marchan-kdl2.md @@ -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 '}') |