From a7562ef0a34abed85184cb3d5fbab9d54fd1e338 Mon Sep 17 00:00:00 2001 From: Brandon Chinn Date: Thu, 29 Jan 2026 16:17:33 -0800 Subject: [PATCH] Prevent accidentally consuming triple quotes in multi-line-string-body --- 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 a5dc482..1bd6fb4 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 '}') |