Unicode escape in string literals (#9390)

This commit is contained in:
Oscar Nihlgård
2018-10-17 00:14:22 +02:00
committed by Andreas Rumpf
parent 0d48bafcf0
commit 163e9de3c2
3 changed files with 73 additions and 22 deletions

View File

@@ -285,6 +285,11 @@ contain the following `escape sequences`:idx:\ :
``\e`` `escape`:idx: `[ESC]`:idx:
``\x`` HH `character with hex value HH`:idx:;
exactly two hex digits are allowed
``\u`` HHHH `unicode codepoint with hex value HHHH`:idx:;
exactly four hex digits are allowed
``\u`` {H+} `unicode codepoint`:idx:;
all hex digits enclosed in ``{}`` are used for
the codepoint
================== ===================================================