Home
Sign Up
Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
V2EX
›
程序员
请教个 nginx lua 正则问题
xnile
·
Nov 17, 2020
· 2362 views
This topic created in 2201 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
·
2192 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 28ms ·
UTC 11:10
·
PVG 19:10
·
LAX 03:10
·
JFK 06:10
♥ Do have faith in what you're doing.
❯