Module:string/nowiki/data
< Module:string | nowiki
- This module lacks a documentation subpage. Please create it.
- Useful links: root page • root page’s subpages • links • transclusions • testcases • sandbox
local list_to_set = require("Module:table").listToSet
local data = {}
data.absolute = list_to_set{"\"", "&", "'", ";", "<", "=", ">", "[", "]", "{", "|", "}"}
data.first = list_to_set{"+", "-", "_", "~"} -- In addition to after_newline.
data.last = list_to_set{"\t", "\n", "\f", "\r", " ", "!", ":", "_", "~"}
data.after_newline = list_to_set{"\t", "\n", "\r", " ", "!", "#", "*", ":"}
data.after_magic_link = list_to_set{"\t", "\n", "\f", "\r", " "}
data.uri_schemes = list_to_set{"bitcoin", "geo", "magnet", "mailto", "matrix", "news", "sip", "sips", "sms", "tel", "urn", "xmpp"}
return data