As the title says... Chat on...

User avatar
By lstynen
#16063 I read through "http://www.lua.org/manual/5.2/manual.html#6.4.1" to make the below example work, but any change I made made it worse, can someone make a suggestion?

vars = "mail=john.do@mail.com&mess=wait%21"
local _GET = {}
for k, v in string.gmatch(vars, "(%w+)=(%w+)&*") do
_GET[k] = v
end
v returns: but I want:
john john.do
wait wait!

Thanks a lot,
Luc