lua-users home
lua-l archive

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


My only suggestion:  in the "Pattern Matching" section, the last
entry, `string.gsub("Lua is great!", "^.-a", function (s) return
string.upper(s) end)` is much more simply put as `string.gsub("Lua is
great!", "^.-a", string.upper)`.

Ben

On Thu, Feb 14, 2008 at 9:31 AM, Thomas Lauer <thomas.lauer@virgin.net> wrote:
> The Lua 5.1 short reference provides a concise summary of the Lua syntax
>  and core libraries. ....