[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.2 (rc1) now available
- From: Daurnimator <quae@...>
- Date: Fri, 20 Nov 2015 09:48:54 +1100
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...