@@ -145,9 +145,9 @@ input-character::
145145 "Any source character except" new-line
146146
147147new-line::
148- "Carriage-return character (0x0D )"
149- "Line-feed character (0x0A )"
150- "Carriage-return character (0x0D ) followed by line-feed character (0x0A )"
148+ "Carriage-return character (U+000D )"
149+ "Line-feed character (U+000A )"
150+ "Carriage-return character (U+000D ) followed by line-feed character (U+000A )"
151151
152152delimited-comment::
153153 '/*' "No characters or any source character sequence except */" '*/'
@@ -170,9 +170,9 @@ delimited-comment::
170170 Any source character except <i ><a href =" #grammar-new-line " >new-line</a ></i >
171171
172172<i id =" grammar-new-line " >new-line::</i >
173- Carriage-return character (0x0D )
174- Line-feed character (0x0A )
175- Carriage-return character (0x0D ) followed by line-feed character (0x0A )
173+ Carriage-return character (U+000D )
174+ Line-feed character (U+000A )
175+ Carriage-return character (U+000D ) followed by line-feed character (U+000A )
176176
177177<i id =" grammar-delimited-comment " >delimited-comment::</i >
178178 /* No characters or any source character sequence except */ */
@@ -212,8 +212,8 @@ white-space::
212212
213213white-space-character::
214214 new-line
215- "Space character (0x20 )"
216- "Horizontal-tab character (0x09 )"
215+ "Space character (U+0020 )"
216+ "Horizontal-tab character (U+0009 )"
217217-->
218218
219219<pre >
@@ -223,8 +223,8 @@ white-space-character::
223223
224224<i id =" grammar-white-space-character " >white-space-character::</i >
225225 <i ><a href =" #grammar-new-line " >new-line</a ></i >
226- Space character (0x20 )
227- Horizontal-tab character (0x09 )
226+ Space character (U+0020 )
227+ Horizontal-tab character (U+0009 )
228228</pre >
229229
230230** Semantics**
@@ -290,7 +290,7 @@ name::
290290
291291name-nondigit::
292292 nondigit
293- "one of the characters 0x80–0xff "
293+ "one of the characters U+0080–U+00ff "
294294
295295nondigit:: one of
296296 '_'
@@ -324,7 +324,7 @@ nondigit:: one of
324324
325325<i id =" grammar-name-nondigit " >name-nondigit::</i >
326326 <i ><a href =" #grammar-nondigit " >nondigit</a ></i >
327- one of the characters 0x80–0xff
327+ one of the characters U+0080–U+00ff
328328
329329<i id =" grammar-nondigit " >nondigit:: one of</i >
330330 _
@@ -344,7 +344,7 @@ Names are used to identify the following: [constants](06-constants.md#general),
344344and names in [ heredoc] ( #heredoc-string-literals ) and [ nowdoc comments] ( #nowdoc-string-literals ) .
345345
346346A * name* begins with an underscore (_ ), * name-nondigit* , or extended
347- name character in the range 0x80–-0xff . Subsequent characters can
347+ name character in the range U+0080–-U+00ff . Subsequent characters can
348348also include * digits* . A * variable name* is a name with a leading
349349dollar ($).
350350
@@ -704,7 +704,7 @@ b-prefix:: one of
704704** Semantics**
705705
706706A single-quoted string literal is a string literal delimited by
707- single-quotes (` ' ` , 0x27 ). The literal can contain any source character except
707+ single-quotes (` ' ` , U+0027 ). The literal can contain any source character except
708708single-quote (` ' ` ) and backslash (` \\ ` ), which can only be represented by
709709their corresponding escape sequence.
710710
@@ -807,7 +807,7 @@ codepoint-digits::
807807** Semantics**
808808
809809A double-quoted string literal is a string literal delimited by
810- double-quotes (` " ` , 0x22 ). The literal can contain any source character except
810+ double-quotes (` " ` , U+0022 ). The literal can contain any source character except
811811double-quote (` " ` ) and backslash (` \\ ` ), which can only be represented by
812812their corresponding escape sequence. Certain other (and sometimes
813813non-printable) characters can also be expressed as escape sequences.
@@ -821,15 +821,15 @@ in the table below:
821821
822822Escape sequence | Character name | Unicode character
823823--------------- | --------------| ------
824- \$ | Dollar sign | 0x24
825- \" | Double quote | 0x22
826- \\ | Backslash | 0x5C
827- \e | Escape | 0x1B
828- \f | Form feed | 0x0C
829- \n | New line | 0x0A
830- \r | Carriage Return | 0x0D
831- \t | Horizontal Tab | 0x09
832- \v | Vertical Tab | 0x0B
824+ \$ | Dollar sign | U+0024
825+ \" | Double quote | U+0022
826+ \\ | Backslash | U+005C
827+ \e | Escape | U+001B
828+ \f | Form feed | U+000C
829+ \n | New line | U+000A
830+ \r | Carriage Return | U+000D
831+ \t | Horizontal Tab | U+0009
832+ \v | Vertical Tab | U+000B
833833\ooo | 1–3-digit octal digit value ooo
834834\xhh or \Xhh | 1–2-digit hexadecimal digit value hh
835835\u{xxxxxx} | UTF-8 encoding of Unicode codepoint U+xxxxxx | U+xxxxxx
0 commit comments