বিষয়বস্তুতে চলুন

মডিউল:string utilities/data

উইকিঅভিধান, মুক্ত অভিধান থেকে

এই মডিউলের জন্য মডিউল:string utilities/data/নথি-এ নথিপত্র তৈরি করা হয়ে থাকতে পারে

local list_to_set = require("Module:table").listToSet

local data = {}

data.byte_escapes = {
	["\a"] = "\\a",
	["\b"] = "\\b",
	["\t"] = "\\t",
	["\n"] = "\\n",
	["\v"] = "\\v",
	["\f"] = "\\f",
	["\r"] = "\\r"
}

data.nowiki_absolute = list_to_set{"\"", "&", "'", ";", "<", "=", ">", "[", "]", "{", "|", "}"}

data.nowiki_after_newline = list_to_set{"\t", "\n", "\r", " ", "#", "*", ":"}

data.nowiki_after_magic_link = list_to_set{"\t", "\n", "\f", "\r", " "}

data.nowiki_uri_schemes = list_to_set{"bitcoin", "geo", "magnet", "mailto", "matrix", "news", "sip", "sips", "sms", "tel", "urn", "xmpp"}

return data