aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--language/scanning.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/language/scanning.rst b/language/scanning.rst
index 8ec1e49..bdde234 100644
--- a/language/scanning.rst
+++ b/language/scanning.rst
@@ -90,8 +90,8 @@ Scanning
Or a sequence of characters matching one of the following regular expressions:
* ``\\x[0-9a-fA-F]{2}``, denoting the numeric value of the given two hexadecimal digits
- * ``\\x[0-9a-fA-F]{4}``, denoting the numeric value of the given four hexadecimal digits
- * ``\\x[0-9a-fA-F]{8}``, denoting the numeric value of the given eight hexadecimal digits
+ * ``\\u[0-9a-fA-F]{4}``, denoting the numeric value of the given four hexadecimal digits
+ * ``\\U[0-9a-fA-F]{8}``, denoting the numeric value of the given eight hexadecimal digits
string literal
A pair of double quotes ``"`` surrounding a sequence whose elements are either single characters or escape sequences.