
lua
wutieliu
这个作者很懒,什么都没留下…
展开
-
lua string.match()
废话不多说直接上代码实在,看完就懂了local str = “08-10:10”local mat1 ,mat2, mat3, mat4 = string.match(str, “(%d+)-(%d+)原创 2019-08-08 10:35:45 · 15065 阅读 · 0 评论 -
lua正则匹配的一些困惑
local iter = string.match(str, "%-? [^%d+] ")local iter = string.match(str, "%-? (^%d+) ")()无法试下^符号的作用只能用[]原创 2019-08-08 11:28:55 · 303 阅读 · 0 评论