Module:RegExpr

Revision as of 05:53, 1 June 2017 by IbarakiIbuki (talk | contribs) (Created page with "local re = {} function re.regExpr(frame) -- frame[1] = test string -- frame[2] = Lua pattern return string.match(frame[1], frame[2]) end")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:RegExpr/doc

local re = {}

function re.regExpr(frame)
	-- frame[1] = test string
	-- frame[2] = Lua pattern
	return string.match(frame[1], frame[2])
end