File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -143,8 +143,10 @@ literals. An escape starts with a `U+005C` (`\`) and continues with one of the
143143following forms:
144144
145145* An _ 8-bit code point escape_ starts with ` U+0078 ` (` x ` ) and is
146- followed by exactly two _ hex digits_ . It denotes the Unicode code point
147- equal to the provided hex value.
146+ followed by exactly two _ hex digits_ with value up to ` 0x7F ` . It denotes the
147+ ASCII character with value equal to the provided hex value. Higher values are
148+ not permitted because it is ambiguous whether they mean Unicode code points or
149+ byte values.
148150* A _ 24-bit code point escape_ starts with ` U+0075 ` (` u ` ) and is followed
149151 by up to six _ hex digits_ surrounded by braces ` U+007B ` (` { ` ) and ` U+007D `
150152 (` } ` ). It denotes the Unicode code point equal to the provided hex value.
@@ -154,7 +156,7 @@ following forms:
154156* The _ null escape_ is the character ` U+0030 ` (` 0 ` ) and denotes the Unicode
155157 value ` U+0000 ` (NUL).
156158* The _ backslash escape_ is the character ` U+005C ` (` \ ` ) which must be
157- escaped in order to denote * itself* .
159+ escaped in order to denote itself.
158160
159161#### Raw string literals
160162
You can’t perform that action at this time.
0 commit comments