mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-30 18:41:45 +00:00
fixed small typos for subexes docs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user