lua-patterns icon indicating copy to clipboard operation
lua-patterns copied to clipboard

Some issue with Sets

Open nindogo opened this issue 1 year ago • 1 comments

I am not sure if this is an issue. I am new to Lua and love you tool.

when I do: image I get told that but when I do: image

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.

nindogo avatar Mar 08 '24 22:03 nindogo

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.

GitSparTV avatar Mar 09 '24 07:03 GitSparTV