Module function receive only re.match.groups as arguments, not url