Module:Sandbox/BrownHairedGirl/GenericDecadeCatNav v01: Difference between revisions

Content deleted Content added
,
non-greedy
Line 94:
function parsePagename(pn)
debugLog(1, "parsePagename: [" .. pn .. "]")
match_prefix, match_decade, match_suffix = mw.ustring.match(pn, "^(.*-)(%d+0s BC)(.*)$")
if match_decade == nil then
match_prefix, match_decade, match_suffix = mw.ustring.match(pn, "^(.*-)(%d+0s)(.*)$")
end
if match_decade == nil then