summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
Diffstat (limited to 'txr.1')
-rw-r--r--txr.19
1 files changed, 7 insertions, 2 deletions
diff --git a/txr.1 b/txr.1
index 54d46384..ea53026f 100644
--- a/txr.1
+++ b/txr.1
@@ -1034,8 +1034,13 @@ for character literals is similar to that of the Scheme language.
String literals are delimited by double respectively, and may not span multiple
lines. A double quote within a string literal is encoded using \e"
and a backslash is encoded as \e\e. Backslash escapes like \en and \et
-are recognized, as are hexadecimal escapes like \exFF and octal
-escapes like \e123.
+are recognized, as are hexadecimal escapes like \exFF or \exxabc and octal
+escapes like \e123. Ambiguity between a hex escape and subsequent
+text can be resolved by using trailing semicolon delimiter: "\exabc;d" is a
+string consisting of the character U+0ABC followed by "d". The semicolon
+delimiter disappears. To write a literal semicolon immediately after a hex
+escape, write two semicolons, the first of which will be interpreted as a
+delimiter. Thus, "\ex21;;" represents "!;".
.SS String Quasiliterals