Module:Sandbox/Aidan9382

This is an old revision of this page, as edited by Aidan9382 (talk | contribs) at 15:39, 3 October 2022 (not old). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

require("Module:No globals")
local functions = {}

function functions.main(data)
	return "<div style=text-align:right;font-size:80%>This does nothing as of right now. "..os.time().."</div>"
end

function functions.iloveregexold(data)
	local r = "%[?%[?.-:([^{|]+)%]?%]?"
	return mw.ustring.match("[[File:Hey.jpg|thumb|left|250px]]",r)
end
function functions.iloveregex(data)
	local r = "%[?%[?%a-:([^{|]+)([^]]*)?%]?%]?"
	return mw.ustring.match("[[File:Hey.jpg|thumb|left|250px]]",r)
end

function functions:namecall()
	return self
end

return functions