Correct unescaped backslash in \n in string.txt

This commit is contained in:
Mahmoud Al-Qudsi 2018-10-14 16:40:27 -05:00
parent 9c6bd8b1b4
commit a8a9a823f2

View file

@ -261,10 +261,10 @@ foo2
<outp>42</outp> <outp>42</outp>
>_ # Sort a list of elements which may contain newlines >_ # Sort a list of elements which may contain newlines
>_ set foo beta alpha\ngamma >_ set foo beta alpha\\ngamma
>_ set foo (string join0 $foo | sort -z | string split0) >_ set foo (string join0 $foo | sort -z | string split0)
>_ string escape $foo[1] >_ string escape $foo[1]
<outp>alpha\ngamma</outp> <outp>alpha\\ngamma</outp>
\endfish \endfish
\subsection string-example-replace-literal Replace Literal Examples \subsection string-example-replace-literal Replace Literal Examples