45,646
edits
No edit summary |
No edit summary |
||
Line 35: | Line 35: | ||
pat = pat:gsub("B", todef("backness")):gsub("R", todef("roundness")) | pat = pat:gsub("B", todef("backness")):gsub("R", todef("roundness")) | ||
else | else | ||
pat = pat:gsub( | pat = pat:gsub("([BR])",function(s) return todef(s == "B" and "backness" or "roundness") end) | ||
end | end | ||