ngx_lua_API 指令详解(二)ngx.re.match/find/gmatch/sub/gsub指令集合
1、先来个官方的ngx.re.matchlocation/ngx_re_match{default_typetext/html;content_by_lua_block{localm,err=ngx.re.match("/live/4001493201083.m3u8","[0-9]+")ifmthen--m[0]=="4001493201083"ngx.say("makcj::",m[0])el