Home
Sign Up
Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
V2EX
›
程序员
请教个 nginx lua 正则问题
xnile
·
Nov 17, 2020
· 2377 views
This topic created in 2205 days ago, the information mentioned may be changed or developed.
from,to = ngx.re.find(payload, [=[\/\*\!?|\/\/|#]=], 'ijo')
请问下表达式中开头和和结尾分别用[=,=]包起的来的作用是啥,没查到解释?
Lua
payload
Nginx
ijo'
2 replies
•
2020-11-17 16:33:19 +08:00
xycc
Nov 17, 2020
1
https://www.lua.org/manual/5.3/manual.html#3.1
raw string 不用转义了
xnile
OP
Nov 17, 2020
2
@
xycc
#1 感谢指点
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
4589 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 29ms ·
UTC 02:58
·
PVG 10:58
·
LAX 18:58
·
JFK 21:58
♥ Do have faith in what you're doing.
❯