require('strict')
local p = {}
function p.getEnglishVariety(frame)
local title = mw.title.new(frame:getParent().page)
local matches = mw.ustring.match(title:getContent(), "{{[Uu]se (%w+) [Ee]nglish}}", 0)
mw.logObject(matches)
return matches[0]
end
return p