lua-users home
lua-l archive

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


On Sun, Jul 5, 2015 at 2:56 AM, Egor Skriptunoff wrote:
Function quote() gives incorrect result for some input strings, for example "]]=]"
BTW, PiL2 contains correct (but not optimal) code for this function.
 

It seems that PiL4 has an error in the same function too.
(Figure 15.1. Quoting arbitrary literal strings)
Now quote("]]") gives wrong result.