python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Nginx Lua regex match first word
I try to convert regex into Lua language, from
([a-zA-Z0-9._-/]+)
to
^%w+?([_-]%w+)
I want to make match first word with '-' and '_':
mar_paci (toto totot)
toi-re/3.9
pouri marc (sensor)
Phoenix; SA...
marcooo_i
Votes: 0
Answers: 1
Lua Script match multiple word
My first time, I try Lua script, I want to match on string (user-Agent), multiple substring to exclude them when it is match.
pattern string is User-Agent pattern, and the multiple string are google, ...
ezceeaaaa
Votes: 0
Answers: 1