local p =
--returns a table of regular expressions, sorted by descending popularity, for a parent template and all redirects to it as of a certain date, or nil--regex for the 1st pipe and surrounding whitespace are purposefully omitted to give the calling modules more flexibilityfunction p.main(template)
--expand the following table as-needed, following the same regex and comment format local tCanonical_templates =