lua-users home
lua-l archive

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


David Manura writes:
> $ lua
> Lua 5.1.2  Copyright (C) 1994-2007 Lua.org, PUC-Rio
> > =("a"):rep(2^32+2)
> aa

There are others:

$ lua
Lua 5.1.2  Copyright (C) 1994-2007 Lua.org, PUC-Rio
> =string.gsub('aaaaaaaaaa', 'a', 'z', 2^32+2)
zzaaaaaaaa      2