All public logs
Combined display of all available logs of Laenkea. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 21:14, 20 February 2024 Maria talk contribs created page Module:string utilities (Created page with "local gmatch = string.gmatch local module_name = "string_utilities" local export = {} local format_escapes = { ["op"] = "{", ["cl"] = "}", } function export.format_fun(str, fun) return (str:gsub("{(\\?)((\\?)[^{}]*)}", function (p1, name, p2) if #p1 + #p2 == 1 then return format_escapes[name] or error(module_name .. ".format: unrecognized escape sequence '{\\" .. name .. "}'") else if fun(name) and type(fun(name)) ~= "string" then error(module_name ....")