然而,Lua中的模式匹配功能是很强大的,并且包含了一些使用标准POSIX模式匹配不容易实现的功能。 string.gmatch(str, pattern). 这是一个返回迭代器的函数.
確定! 回上一頁