lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.