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)