lua-users home
lua-l archive

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


On Fri, Sep 24, 2010 at 10:21 AM, steve donovan
<steve.j.donovan@gmail.com> wrote:
> This makes sense. It is all too easy to include a magic character in a
> string, suddenly changing the semantics totally.  We are _used_ to
> this in Lua, but it does bite people.
   Yes, especially "."! I will turn off the default of "any magic
chars -> use string.match" off when I work on tamale this weekend.
Either a flag or expecting a function in such cases seems like a
better alternative.

Scott