[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Feature request: plain option for gsub
- From: Dirk Laurie <dirk.laurie@...>
- Date: Thu, 21 Aug 2014 18:41:47 +0200
OK, change it to jfind. To help you remember that
the iterator variable is the 'j' return parameter of find.
2014-08-21 17:59 GMT+02:00 Daurnimator <quae@daurnimator.com>:
> 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 :)