Module:pollasena-roots: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 47: Line 47:
error(msg .. ": " .. orig_param .. "= " .. table.concat(run))
error(msg .. ": " .. orig_param .. "= " .. table.concat(run))
end
end
local term = run[1]
local term = run[1]:gsub("*%","")


for j = 2, #run - 1, 2 do
for j = 2, #run - 1, 2 do
local modtext = run[j]:match("^<(.*)>$")
local modtext = run[j]:match("^<(.*)>$")
modtext = modtext:gsub("*%","")
local prefix, arg = modtext:match("^([a-z]+):(.*)$")
local prefix, arg = modtext:match("^([a-z]+):(.*)$")