Hi,
I'm talking about these:
https://github.com/openresty/lua-nginx-module#ngxrefind
http://www.lua.org/manual/5.1/manual.html#pdf-string.find
To avoid unneccessary string creation (eg. recursive ngx.re.find), would it be possible to add init-argument (as in string.find) to ngx.re.find so that it could be used as a replacement for string.find? Or alternatively should there also be ngx.re.gfind?
Does it make any sense?
Regards
Aapo