Module:Check for clobbered parameters/sandbox explained

local p =

local function trim(s) return s:match('^%s*(.-)%s*$')end

local function isnotempty(s) return s and s:match('%S')end

function p.check(frame) local args = frame.args local pargs = frame:getParent.args local checknested = isnotempty(args['nested']) local delimiter = isnotempty(args['delimiter']) and args['delimiter'] or ';' local argpairs = for k, v in pairs(args) do if type(k)