lua-users home
lua-l archive

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


On 21 August 2014 11:57, Dirk Laurie <dirk.laurie@gmail.com> wrote:
That "lengthy" is a challenge ... here is my attempt, which has the
same fourth parameter that gsub has. 'gfind' is an independently
useful iterator form of find, except that the default is plain: you need
to specify "false" as second argument to get a pattern.

gfind was the old name for gmatch (pre 2006).
There's enough confusion around this from 10 year old tutorials.
Please do not add fuel :)