[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Did string.gfind() change between 5.1 and 5.2? <SOLVED>
- From: Steve Litt <slitt@...>
- Date: Wed, 3 Apr 2013 21:42:55 -0400
On Wed, 3 Apr 2013 22:14:59 -0300
Luiz Henrique de Figueiredo <email@example.com> 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.
Confirmed, changing it to gmatch() works on 5.2. Thanks also to
<fogfx1> on the Lua IRC, who told me the same thing.