Open yankeeinlondon opened 6 years ago
In the original Perl implementation the ZIP+4 code is parsed but later stripped out. This library also behaves the same. But I'm open to keep the ZIP+4 code as additional property. Any thoughts on the property name? May be plus4
?
plus4 or zip4 would both make sense to me. Please do let me know if you are able to do this as I’m certainly interested.
Thanks,
Ken
On 15 Dec 2017, 16:19 +0000, Hassansin notifications@github.com, wrote:
In the original Perl implementation the ZIP+4 code is parsed but later stripped out. This library also behaves the same. But I'm open to add ZIP+4 code as additional property. Any thoughts on the property name? May be plus4? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Can you try it on zipplus4
branch? https://github.com/hassansin/parse-address/tree/zipplus4
If I type 90291-3064 in as the address (either by itself or at the end of a street address) I'd expect the parser to be able to identify this as a Zip+4 format but instead it either truncates the +4 part of the zip when it is hanging off a street address or associates the +4 part as being a street number.