hassansin / parse-address

US Street Address Parser
http://hassansin.github.io/parse-address/
Other
157 stars 81 forks source link

PO box without a street address #8

Open turbobuilt opened 7 years ago

turbobuilt commented 7 years ago

Hello,

The following address fails to parse properly:

PO Box 1400 Columbus, GA 33902-1200

It returns only: sec_unit_num: "1200" sec_unit_type: "PO Box" street: "Columbus"

According to the USPS, it is valid to have only the PO box. Perhaps PO box should have a special case?

http://pe.usps.gov/text/pub28/28c2_005.htm

alechirsch commented 5 years ago

+1, any chance this could make it in?