Module:Sandbox/Erutuon: Difference between revisions

Content deleted Content added
eliminated some redundant variables, making loops simpler; moved subtag list out of function; notes
m fix pattern
Line 657:
mw.log("Invalid variant code", variant, "in", parsed_subtags:get_tag())
else
local prefix = parsed_subtags:get_tag():lower():match("^(.-)%-" .. variant)
-- Check that at least one of the prefixes is found at the