Comic Book Guy
Die Seite wurde neu angelegt: „function escape_lua_regex(str) return mw.ustring.gsub(str, ".", { ["%"] = "%%"; ["^"] = "%^"; ["$"] = "%$"; ["."] = "%."; ["("] = "%("; [")"] = "%)"; ["["] = "%["; ["]"] = "%]"; ["?"] = "%?"; ["*"] = "%*"; ["+"] = "%+"; ["-"] = "%-"; ["\0"] = "%z"; }) end local function trim(s) s = mw.ustring.gsub(s,"\n",""); while mw.ustring.sub(s,1,1) == " " do s= mw.ustring.sub(s,2,-1); end wh…“