From 281de7e97732bc83f2773f5e03c09e6f5f28c0ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Mon, 1 Apr 2024 14:26:44 -0700 Subject: [PATCH] review fixes --- SPEC.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SPEC.md b/SPEC.md index 8e38b2b..13ce90a 100644 --- a/SPEC.md +++ b/SPEC.md @@ -709,6 +709,8 @@ They may be represented in Strings (but not Raw Strings) using `\u{}`. * `U+200E-200F`, `U+202A-202E`, and `U+2066-2069`, the [unicode "direction control" characters](https://www.w3.org/International/questions/qa-bidi-unicode-controls) +* `U+FEFF`, aka Zero-width Non-breaking Space (ZWNBSP)/Byte Order Mark (BOM), + except as the first code point in a document. ## Full Grammar @@ -755,7 +757,7 @@ quoted-string := '"' (single-line-string-body | newline multi-line-string-body n single-line-string-body := (string-character - newline)* multi-line-string-body := string-character* string-character := '\' escape | [^\\"] - disallowed-literal-code-points -escape := ["\\bfnrt] | 'u{' hex-digit{1, 6} '}' | (unicode-space | newline)+ +escape := ["\\bfnrts] | 'u{' hex-digit{1, 6} '}' | (unicode-space | newline)+ hex-digit := [0-9a-fA-F] raw-string := '#' raw-string-quotes '#' | '#' raw-string '#'