lua-users home
lua-l archive

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


On Wed, 3 Apr 2013 22:14:59 -0300
Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:

> > Some code that worked in Lua 5.1 croaked in the following way in
> > 5.2:
> 
> string.gfind was part of 5.0, deprecated in 5.1, and removed in 5.2.
> More precisely, string.gfind was renamed to string.gmatch in 5.1 and
> that's what it is in 5.2.
> 

Thanks Luiz,

Confirmed, changing it to gmatch() works on 5.2. Thanks also to
<fogfx1> on the Lua IRC, who told me the same thing.

SteveT