[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Second return parameter from string.gsub is a gotcha
- From: steve donovan <steve.j.donovan@...>
- Date: Sat, 29 Mar 2014 13:07:56 +0200
On Sat, Mar 29, 2014 at 12:34 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> Check: change path:gsub(...) to (path:gsub(...)) in case1, it works.
Been bitten by that before; once bitten, twice shy.
Not really a bug - just dodgy design (and no, I don't know how else it
could be done)
I really should revive that 'gotchas' page I was maintaining.