lua-resty-memcached icon indicating copy to clipboard operation
lua-resty-memcached copied to clipboard

Use of string.match which is NYI in LuaJIT

Open edo888 opened this issue 4 years ago • 1 comments

Hi,

I have noticed that this library uses string.match function which is not supported by LuaJIT: http://wiki.luajit.org/NYI#libraries_string-library

Will this library play nice with LuaJIT or there are other obstacles which I'm not aware of?

Thanks!

edo888 avatar Sep 06 '20 04:09 edo888

@edo888 Yeah, we should use ngx.re.find or ngx.re.match for it. Pull requests welcome!

agentzh avatar Sep 23 '20 08:09 agentzh