[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.2 (rc1) now available
- From: Dirk Laurie <dirk.laurie@...>
- Date: Fri, 20 Nov 2015 08:09:17 +0200
2015-11-20 0:48 GMT+02:00 Daurnimator <quae@daurnimator.com>:
> On 20 November 2015 at 00:05, Roberto Ierusalimschy
>> What is the issue here? What would be the "correct" behavior? The
>> documentation is clear that "Option 's' expects a string without
>> embedded zeros"
https://xkcd.com/242/
> The problem is that if you *do* give it a string with embedded zeros,
> it suddenly changes behaviour at a length of > 100.
Correct programs are correct in only one way. Incorrect programs
are wrong in many interesting ways, including that of appearing to
be correct.
If you _know_ that you may have embedded zeros, why don't you
use the 'q' option instead?