+ matcher = self.country_matcher.get(country, self.default_matcher)
+ if matcher is None:
+ return postcode.upper(), ''
+
+ match = matcher.match(postcode)
+ if match is None:
+ return None
+
+ return matcher.normalize(match), ' '.join(match.groups())