Hello, you have come here looking for the meaning of the word
Module:string/charsetEscape. In DICTIOUS you will not only get to know all the dictionary meanings for the word
Module:string/charsetEscape, but we will also tell you about its etymology, its characteristics and you will know how to say
Module:string/charsetEscape in singular and plural. Everything you need to know about the word
Module:string/charsetEscape you have here. The definition of the word
Module:string/charsetEscape will help you to be more precise and correct when speaking or writing your texts. Knowing the definition of
Module:string/charsetEscape, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
local gsub = string.gsub
local chars
local function get_chars()
chars, get_chars = {
= "%z", = "%%", = "%-", "] = "%]", = "%^",
}, nil
return chars
end
--^}, and converts the null character to {%z}.]==]
return function(str)
return (gsub(str, "^]", chars or get_chars()))
end