lua-patterns
lua-patterns copied to clipboard
Some issue with Sets
I am not sure if this is an issue. I am new to Lua and love you tool.
when I do:
I get told that
but when I do:
It says it does not match the character { exactly
But I do not think it matters: Lua LuaJIT OpenResty
BTW - please put consider Ethical Ads cos I am sure many people will be ok with you making some money from the page.
Hi.
No, Lua pattern explanation is correct. The sign ^ negates the search.
For the string adadas{{hfhfhdf pattern [^{]* will match anything but not {. And the answer is correct, it found characters before {. If you remove ^, it will match only { symbols.
Thanks for ad platform recommendation. Unfortunately, it's useless for me because I won't be able to withdraw money even if I earn them, because of restrictions to Russia.