Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow ZIP only parsing #26

Open
joshco opened this issue May 23, 2015 · 1 comment
Open

Allow ZIP only parsing #26

joshco opened this issue May 23, 2015 · 1 comment

Comments

@joshco
Copy link

joshco commented May 23, 2015

Feature request. If the input string is simply a ZIP code, eg "10011", then return successfully with just postal_code populated.
When collecting address information from subscribers, ZIP/postal_code is often considered good enough

@ruckus
Copy link

ruckus commented Feb 6, 2020

In your own code: if the input string is all digits and 5 characters long - can you just assume its a zip? Seems like overkill to run a 5 digit character string thru this parsing engine if you can essentially "tell" is already a zip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants