data:match(":"..":"..file2..":"..":".."(.+)"..";/"..";"..file2..";"..";"):gsub("=n".."32", " ".."n")
sends the entire file, dunno why
side note: file2 is the name of a file
don't ask about the excessive ..s
Match gets entire file
Started by Creeper9207, Apr 08 2015 11:02 PM
3 replies to this topic
#1
Posted 08 April 2015 - 11:02 PM
#3
Posted 09 April 2015 - 02:20 AM
Im trying to get ::nu::hi;/;nu;;
#4
Posted 09 April 2015 - 09:35 AM
Despite being a mess, this works in about the manner I'd expect it to. Eg:
This isn't the same version of the line as in the paste you provided in your last thread about this exact same line, though, leading me to wonder what else you changed (... and why you didn't stick with that thread?!).
local data, file2 = "::nu::hi;/;nu;;", "nu"
print(data:match(":"..":"..file2..":"..":(.+);".."/;"..file2..";"..";"):gsub("=n".."32", " \ ".."n")) --> "hi", 0
This isn't the same version of the line as in the paste you provided in your last thread about this exact same line, though, leading me to wonder what else you changed (... and why you didn't stick with that thread?!).
Edited by Bomb Bloke, 09 April 2015 - 09:37 AM.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











