[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua Short Reference, 2nd draft
- From: Ben <thebassplayer@...>
- Date: Thu, 14 Feb 2008 13:15:34 -0800
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. ....