Модуль:string/pattern escape

Wiktionary дан
Jump to navigation Jump to search

Documentation for this module may be created at Модуль:string/pattern escape/doc

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