Module:String/pattern escape: Difference between revisions

From EMPTY MEDIAWIKI
Jump to navigation Jump to search
Bob>Juelos
Created page with "return function (str) return mw.ustring.gsub(str, "([%(%)%.%%%+%-%*%?%[%^%$%]])", "%%%1") end"
 
m 1 revision imported
 
(No difference)

Latest revision as of 08:04, 15 April 2026

Documentation for this module may be created at Module:String/pattern escape/doc

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