具体位置:openresty/lua-nginx-module,https://github.com/openresty/lua-nginx-module
闫东晓於 2018年1月9日星期二 UTC+8下午4時55分43秒寫道:
hi,
Special Escaping Sequences小节的最后一部分,内容如下:
# nginx.conf
location /test {
content_by_lua_block {
local regex = "\d+"
local m = ngx.re.match("hello, 1234", regex)
if m then ngx.say(m[0]) else ngx.say("not matched!") end
}
}
regex变量的值是否应该改为: