Available on crate feature
utils-escape
only.Expand description
Escape and Unescape Utilities
Structsยง
- LUA_
NCR_ ๐BASE10_ REGEX - LUA_
NCR_ ๐BASE16_ REGEX - LUA_
NCR_ ๐BASE16_ U_ REGEX - XML_
NCR_ ๐BASE10_ REGEX - XML_
NCR_ ๐BASE16_ REGEX
Functionsยง
- escape_
xml_ attr_ value - Escapes special characters in XML attribute values.
- escape_
xml_ text_ value - Escapes special characters in XML text values.
- lua_
key_ contains_ need_ escape - Checks if a string contains characters that need to be escaped in Lua keys.
- lua_
str_ contains_ need_ escape - Checks if a string contains characters that need to be escaped in Lua strings.
- unescape_
lua_ str - Unescapes Lua string escape sequences.
- unescape_
xml - Unescapes XML character references and entities.