Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

A string pattern scripting error?

Asked by
iRexBot 147
6 years ago

So I want this script to print lol xD Memes but when I run it. It prints nil nil nil here is the script

local target, reason = string.match("lol/xD/Memes", "(%a+)/(%a+)/(%a+)")
print(target, reason)

Can anyone fix this? Thanks in advanced!

0
Cannot reproduce. This works for me. BlueTaslem 18071 — 6y

Answer this question