guimunarolo / postcode-validator-uk

MIT License
5 stars 2 forks source link

Not validating for a certain format #11

Open simondward1066 opened 3 years ago

simondward1066 commented 3 years ago

Hi,

Have written a routine to validate 30k+ post codes, works fine apart from where the format is XX10 nXX, e.g BA10 0AA, DN10 4QH, RG10 0TT etc. Have looked them up on the Royal Mail site and are all valid post codes. Seems to be a pattern with a 2 letter outcode with a 10 after.

Many thanks

Simon

guimunarolo commented 3 years ago

hey @simondward1066

I think this PR is solving this issue

simondward1066 commented 3 years ago

Hi,

Thank you for letting me know.

Simon

From: Guilherme Munarolo @.> Sent: 23 June 2021 16:58 To: guimunarolo/postcode-validator-uk @.> Cc: Simon Ward @.>; Mention @.> Subject: Re: [guimunarolo/postcode-validator-uk] Not validating for a certain format (#11)

hey @simondward1066https://github.com/simondward1066

I think this PRhttps://github.com/guimunarolo/postcode-validator-uk/pull/10 is solving this issue

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/guimunarolo/postcode-validator-uk/issues/11#issuecomment-866963361, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUS3T7NVU327YPLPEGFNQNLTUIABBANCNFSM47FWYSFA.