Module:ruby

local export = {}

function export.show(frame) local word = frame:getParent.args[1] word = mw.ustring.gsub(word, "%[([^%[%]]+)%]%(([^%(%)]+)%)", " %1%2 ") word = mw.ustring.gsub(word, "(.)%(([^%(%)]+)%)", " %1%2 ") return word end

return export