local p = {}
local function pad( key, value, padlength )
--
end
function p.main( frame )
str = mw.text.unstrip(frame.args[1])
padlength = mw.text.unstrip(frame.args[2])
regpattern = "!\d+!"
matches = string.match( str, regpattern )
for key,value in matches do
--value = "foobar"
end
end