lua-users home
lua-l archive

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


2014-08-25 10:03 GMT+02:00 Jonas Thiem <jonasthiem@googlemail.com>:
> And there is no compelling reason that gsub doesn't have a plain
> option, except that it just doesn't have one. find has it, why not
> gsub?
...
> Or just add a basic additional replace function.

I'll agree there is a need. I've often been caught out myself.
But string.replace is a better way to go. You can already write
your programs that way, supplying your own function until
such time as PUC-Rio, if ever, accedes to your request.