[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 5.1b gsub
- From: David Burgess <dburgess@...>
- Date: Tue, 8 Nov 2005 01:19:35 +1100
Yes it took me a bit long longer than that because I needed to wake
up what the problem was. Thanks for the compat solution.
However, I do think this is likely to break a bit of code. After I
found this (very late at night), I searched my code for gsubs and
found 302 gsubs with only 2 of them impacted by this change.
Not so bad.
After having reread the thread on this subject I would agree that is
worth it for the table substitutiion
Thanks and sorry about the overstatement
DB
On 11/7/05, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
> > Some points to consider, given that the new gsub will bust a lot of code;
>
> Is there really lots of code?
>
>
> > Does someone want to volunteer to fix the a zillion gsubs in luasocket?
>
> I volunteer. The "zillions" in that case is 8; with a trivial replace
> 'end)' by 'return "" end)' (with manual confirmation) I did that in less
> than one minute.
>
> -- Roberto
>