Lexo's recent timeline updates
Lexo

Lexo

V2EX member #482565, joined on 2020-04-09 11:55:40 +08:00
Lexo's recent replies
Apr 10, 2020
Replied to a topic by Livid Lua 关于 Lua 的标准库
Openresty,比如你说的分割问题可以用 ngx.re.split 解决
第二个...是有点头疼...得自己遍历
Apr 10, 2020
Replied to a topic by caola Lua Lua 怎么实现 php strstr() 函数的功能
string.find("Hello world","Hello",1,true)

第一个参数是母字符串,第二个参数是子字符串,第三个是从第几位开始匹配,第四个设为 true,就可以开启仅字符串匹配,而不是用 Lua 正则匹配,无需转义
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1033 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 18:30 · PVG 02:30 · LAX 11:30 · JFK 14:30
♥ Do have faith in what you're doing.