[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: A bug in string.gmatch and string.gsub?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 29 Apr 2013 14:08:59 -0300
> > Even odder....
> >
> > Lua 5.2.2 Copyright (C) 1994-2013 Lua.org, PUC-Rio
> > > =(";a;"):gsub("a-", "ITEM")
> > ITEM;ITEMaITEM;ITEM 4
> >
> > Why is that 'a' still there?
>
> That's an independent bug. [...]
Please stop calling "bug" something that does not behave as you wanted
or imagined.
-- Roberto