Module:Ustring: Difference between revisions

Content deleted Content added
m heh, I was really lazy when I first made this; just simplifying
escape with only ^\ is sufficient
Line 3:
for k, v in pairs(mw.ustring) do
p[k] = function(frame)
local args, esc = {}, string.char(127,4,127,2)
for _, v in ipairs(frame.args) do
table.insert(args, tonumber(v) or v:gsub("\\\\",esc):gsub("^\\", ""):gsub(esc, "\\"1))
end
if frame.args.tag then