diff --git a/SPEC.md b/SPEC.md index c147a88..ed18f71 100644 --- a/SPEC.md +++ b/SPEC.md @@ -872,7 +872,7 @@ escape := ["\\bfnrts] | 'u{' hex-digit{1, 6} '}' | (unicode-space | newline)+ hex-digit := [0-9a-fA-F] raw-string := '#' raw-string-quotes '#' | '#' raw-string '#' -raw-string-quotes := '"' single-line-raw-string-body '"' | '"""' newline multi-line-raw-string-body newline unicode-space*) '"""' +raw-string-quotes := '"' single-line-raw-string-body '"' | '"""' newline multi-line-raw-string-body newline unicode-space* '"""' single-line-raw-string-body := '' | (single-line-raw-string-char - '"') single-line-raw-string-char* | '"' (single-line-raw-string-char - '"') single-line-raw-string-char* single-line-raw-string-char := unicode - newline - disallowed-literal-code-points multi-line-raw-string-body := (unicode - disallowed-literal-code-points)* @@ -940,4 +940,4 @@ Specifically: For example, `^foo` means "must not match `foo`". * A single definition may be split over multiple lines. Newlines are treated as spaces. -* `//` followed by text on its own line is used as comment syntax. \ No newline at end of file +* `//` followed by text on its own line is used as comment syntax.