diff options
author | Araq <rumpf_a@web.de> | 2014-09-24 03:01:16 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-09-24 03:01:16 +0200 |
commit | dfd73902772a0236e09cae534ba98f1a58c194ad (patch) | |
tree | 2e3a0b53fcc155b28fa17e96ead6adb27b65ea67 /lib/pure | |
parent | 8930ba50b99be7cd508a5d3284ef278ccb736767 (diff) | |
download | Nim-dfd73902772a0236e09cae534ba98f1a58c194ad.tar.gz |
added $* for subexes
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/subexes.nim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/pure/subexes.nim b/lib/pure/subexes.nim index 452978c09..c87823926 100644 --- a/lib/pure/subexes.nim +++ b/lib/pure/subexes.nim @@ -196,6 +196,9 @@ proc scanDollar(p: var TFormatParser, a: openarray[string], s: var string) = of '$': emitChar p, s, '$' inc i + of '*': + for j in 0..a.high: emitStr p, s, a[j] + inc i of '{': call: let (x, y) = scanSlice(p, a) |