diff --git a/language/types/string.xml b/language/types/string.xml index 7e62730b6a..29845edd4b 100644 --- a/language/types/string.xml +++ b/language/types/string.xml @@ -61,10 +61,12 @@ To specify a literal single quote, escape it with a backslash - (\). To specify a literal backslash before a single - quote, or at the end of the string, double it - (\\). Note that attempting to escape any other character - will print the backslash too. + (\). To specify a literal backslash, double it + (\\). All other instances of backslash will be treated + as a literal backslash: this means that the other escape sequences you + might be used to, such as \r or \n, + will be output literally as specified rather than having any special + meaning.