lua-users home
lua-l archive

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


On 20 November 2015 at 00:05, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
>> I don't suppose you have some solution to
>> http://lua-users.org/lists/lua-l/2015-07/msg00540.html ?
>> I was hoping it might have made it into this release.
>
> What is the issue here? What would be the "correct" behavior? The
> documentation is clear that "Option 's' expects a string without
> embedded zeros" [1].
>
> [1] http://www.lua.org/manual/5.3/manual.html#pdf-string.format

The problem is that if you *do* give it a string with embedded zeros,
it suddenly changes behaviour at a length of > 100.

I wonder if it is time that we implement the flag, width and precision
handling...