Module:ábḫ-ipa/remake: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 66: Line 66:
--local word = frame.args[1] or word
--local word = frame.args[1] or word
for regex, repl in ipairs(start_rules) do
for _, srule in ipairs(start_rules) do
word = word:gsub(regex, repl)
word = word:gsub(srule[1], srule[2])
end
end