Module:Sandbox/Erutuon: Difference between revisions

Content deleted Content added
check for nil, empty, non-string, invalid characters
m shorter
Line 438:
-- invalid.
local suffix = table.concat(subtags, "-", last_matched_subtag_i + 1)
if subtags[last_matched_subtag_i +suffix:sub(1, 1]) == "x" then
parsed_subtags.private_use = suffix
parsed_subtags.matched_count = parsed_subtags.matched_count + 1