added $* for subexes

This commit is contained in:
Araq
2014-09-24 03:01:16 +02:00
parent 8930ba50b9
commit dfd7390277
2 changed files with 5 additions and 0 deletions

View File

@@ -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)