string.gmatch(str, pattern). 在Lua中进行模式匹配的时候支持的字符类如下:. 特殊元字符的例子:. -- . local str = "a1&". print(string.gsub(str, ".
確定! 回上一頁