street-address-rb / street-address

Detect, and dissect, US Street Addresses in strings.
MIT License
168 stars 85 forks source link

ZIP +4 not parsing when 9 continuous digits. #7

Closed Austio closed 9 years ago

Austio commented 11 years ago

Not sure if this is due to my environment but when postal code is 9 continuous digits are not parsing. However something with the dash delimiter in the postal code is working.

So 123456789 - Does NOT parse and returns nil 12345-6789 - Parses correctly

Please let me know if you need additional information

derrek commented 11 years ago

Back from vacation - will investigate over the next week.

derrek commented 9 years ago

Fixed in current master and will be released as gem version 2