Module:Sandbox/Aidan9382: Difference between revisions

Content deleted Content added
dumb regex testing
not old
Line 10:
return mw.ustring.match("[[File:Hey.jpg|thumb|left|250px]]",r)
end
function functions.iloveregexoldiloveregex(data)
local r = "%[?%[?%a-:([^{|]+)([^]]*)?%]?%]?"
return mw.ustring.match("[[File:Hey.jpg|thumb|left|250px]]",r)