1
Vote

Regex for PO Box doesn't match letters.

description

The Special case in AddressParser.cs for PO boxes (lines 865 thru 882) doesn't match PO boxes with letters, for example:
PO Box K, Michigan City, IN 46361-0320
 
I have attached a patched copy of the AddressParser.cs and AddressParserTest.cs with the matching added.

file attachments

comments

ktaylor wrote Jul 20, 2012 at 10:51 PM

Ooops...almost forgot the unit tests....

wrote Feb 14, 2013 at 7:16 PM