Module:string/pattern escape

Wiktionary වෙතින්

local gsub = string.gsub

return function(str)
	return (gsub(str, "[$%%()*+%-.?[%]^]", "%%%0"))
end
"https://si.wiktionary.org/w/index.php?title=Module:string/pattern_escape&oldid=63324" වෙතින් සම්ප්‍රවේශනය කෙරිණි