summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-12-27 19:47:37 +0100
committerAraq <rumpf_a@web.de>2011-12-27 19:47:37 +0100
commit8e7917c3f7e259c33917e2c1e3774598e3f80869 (patch)
tree1ca9ebf4bc7280c5fb038f670c05527886ab09f2 /doc
parentb336bf4039f3bc428f0a6690bf448f1e0b447c4b (diff)
downloadNim-8e7917c3f7e259c33917e2c1e3774598e3f80869.tar.gz
fixed small typos for subexes docs
Diffstat (limited to 'doc')
-rw-r--r--doc/subexes.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/subexes.txt b/doc/subexes.txt
index 6d865e4b6..3565dbf43 100644
--- a/doc/subexes.txt
+++ b/doc/subexes.txt
@@ -25,9 +25,9 @@ Notation                meaning
 ``${$1..$2}``           use arguments X to Y where ``X = parseInt(arg[1])``
                         and ``Y = parseInt(arg[2])``
 ``$','{1..3}``          use arguments 1 to 3 and join them with ','
-``$','80c'\n'{..}``     use all arguments, join them with ','. Insert '\n'
+``$','80c'\n'{..}``     use all arguments, join them with ','. Insert '\\n'
                         before the resulting string exceeds 80 chars.
-``$','8i'\n'{..}``      use all arguments, join them with ','. Insert '\n'
+``$','8i'\n'{..}``      use all arguments, join them with ','. Insert '\\n'
                         after every 8th item.
 ``$' '~{1..3}``         use arguments 1 to 3 with a leading space if the
                         concatenation of ``1..3`` is not the empty string