aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-11-04 01:29:18 -0700
committerMelody Horn <melody@boringcactus.com>2020-11-04 01:29:18 -0700
commitfdaad85e09af510deaf030d1c61057b9664f1cfa (patch)
tree7759877a74ba5bdbce82ecef8aafeb9405e06864
parent24c23eaaca89c3689fd1dc2ad8f33e48bfa166cf (diff)
downloadspec-fdaad85e09af510deaf030d1c61057b9664f1cfa.tar.gz
spec-fdaad85e09af510deaf030d1c61057b9664f1cfa.zip
fix escape sequences oops
-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.