Bu modul uchun Modul:string/pattern escape/doc nomli hujjat sahifasini yaratishingiz mumkin

return function (str)
	return mw.ustring.gsub(str, "([%(%)%.%%%+%-%*%?%[%^%$%]])", "%%%1")
end