Module:Sandbox

local p = {} function p.f(frame)

local pframe = frame:getParent local s = pframe.args[1] local pattern = pframe.args[2] local repl = pframe.args[3] r = '' r=r..string.gsub (s, pattern, repl) return r end

return p