From dfe6230c5f92d21f1df79bd00db4f39e51e49894 Mon Sep 17 00:00:00 2001 From: Halalaluyafail3 <55773281+Halalaluyafail3@users.noreply.github.com> Date: Fri, 14 Jan 2022 15:53:36 -0500 Subject: [PATCH] Fix hexadecimal escape sequence --- docs/_pages/syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_pages/syntax.md b/docs/_pages/syntax.md index e71dc1cc..6d3f2243 100644 --- a/docs/_pages/syntax.md +++ b/docs/_pages/syntax.md @@ -27,7 +27,7 @@ The rest of this document documents additional syntax used in Luau. ## String literals -Luau implements support for hexadecimal (`\0x`), Unicode (`\u`) and `\z` escapes for string literals. This syntax follows [Lua 5.3 syntax](https://www.lua.org/manual/5.3/manual.html#3.1): +Luau implements support for hexadecimal (`\x`), Unicode (`\u`) and `\z` escapes for string literals. This syntax follows [Lua 5.3 syntax](https://www.lua.org/manual/5.3/manual.html#3.1): - `\xAB` inserts a character with the code 0xAB into the string - `\u{ABC}` inserts a UTF8 byte sequence that encodes U+0ABC character into the string (note that braces are mandatory)