[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: __tostring and string.format
- From: steve donovan <steve.j.donovan@...>
- Date: Wed, 8 Dec 2010 08:58:06 +0200
On Tue, Dec 7, 2010 at 9:25 PM, Etan Reisner
<deryni@unreliablesource.net> wrote:
> That doesn't work for formats with any non-%s specifiers. Any non-%s
> specifier will throw off the i counter for later arguments.
You're right, it's a stupid piece of code. Thanks for the
correction.The gmatch should be '%%.' and then there should be an
explicit match for '%s'.
However, {...} should work, if we work with the format specifiers.
steve d.