Loading...
This site is best viewed in a modern browser with JavaScript enabled.
Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
请问lua中如何正则匹配固定长度的特征串?
ssdrliu
比如我想匹配一个32字节的md5字符串,string.match(md5, "[%x]{32}")这样是匹配不到的,lua貌似不支持{}语法。。。
请大神们支招~
uangxi
ngx.re.find ngx.re.match