Skip to content

Commit 76c534c

Browse files
authored
Update formal raw string literal token definition
1 parent beb82ca commit 76c534c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tokens.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ following forms:
197197
>    | `#` RAW_STRING_CONTENT `#`
198198
199199
Raw string literals do not process any escapes. They start with the character
200-
`U+0072` (`r`), followed by zero or more of the character `U+0023` (`#`) and a
200+
`U+0072` (`r`), followed by fewer than 256 of the character `U+0023` (`#`) and a
201201
`U+0022` (double-quote) character. The _raw string body_ can contain any sequence
202202
of Unicode characters and is terminated only by another `U+0022` (double-quote)
203203
character, followed by the same number of `U+0023` (`#`) characters that preceded
@@ -288,7 +288,7 @@ following forms:
288288
>    _any ASCII (i.e. 0x00 to 0x7F)_
289289
290290
Raw byte string literals do not process any escapes. They start with the
291-
character `U+0062` (`b`), followed by `U+0072` (`r`), followed by zero or more
291+
character `U+0062` (`b`), followed by `U+0072` (`r`), followed by fewer than 256
292292
of the character `U+0023` (`#`), and a `U+0022` (double-quote) character. The
293293
_raw string body_ can contain any sequence of ASCII characters and is terminated
294294
only by another `U+0022` (double-quote) character, followed by the same number of

0 commit comments

Comments
 (0)