about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2017-10-26T18·50+0000
committerOrivej Desh <orivej@gmx.fr>2017-10-26T18·53+0000
commit842ce8bafd89a896680d8614ffb2b08b6b38452a (patch)
tree54df9ab9783da63e04f4dac13d52f1dfb6f72e08 /doc
parent15457c56731537e0d424d5feb3f3fcacba39b99b (diff)
Clarify indented string escaping rules
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/expressions/language-values.xml14
1 files changed, 9 insertions, 5 deletions
diff --git a/doc/manual/expressions/language-values.xml b/doc/manual/expressions/language-values.xml
index 67da688a4fc5..bb2090c881fd 100644
--- a/doc/manual/expressions/language-values.xml
+++ b/doc/manual/expressions/language-values.xml
@@ -98,13 +98,17 @@ configureFlags = "
 
     <para>Since <literal>${</literal> and <literal>''</literal> have
     special meaning in indented strings, you need a way to quote them.
-    <literal>${</literal> can be escaped by prefixing it with
+    <literal>$</literal> can be escaped by prefixing it with
     <literal>''</literal> (that is, two single quotes), i.e.,
-    <literal>''${</literal>.  <literal>''</literal> can be escaped by
+    <literal>''$</literal>. <literal>''</literal> can be escaped by
     prefixing it with <literal>'</literal>, i.e.,
-    <literal>'''</literal>.  Finally, linefeed, carriage-return and
-    tab characters can be written as <literal>''\n</literal>,
-    <literal>''\r</literal>, <literal>''\t</literal>.</para>
+    <literal>'''</literal>. <literal>$</literal> removes any special meaning
+    from the following <literal>$</literal>. Linefeed, carriage-return and tab
+    characters can be written as <literal>''\n</literal>,
+    <literal>''\r</literal>, <literal>''\t</literal>, and <literal>''\</literal>
+    escapes any other character.
+
+    </para>
 
     <para>Indented strings are primarily useful in that they allow
     multi-line string literals to follow the indentation of the