Hi Alex,

since I upgraded to BBDB 2.2, I use the following continental zip code
regexp

"\\(^\\s *[A-Z][A-Z]?\\s *-\\s *[0-9][0-9][0-9]\\|^\\s *[1-9][0-9][0-9][0-9][0-9]\\)"

which basically matches the old continental zip codes and German ones (5
digits with the first one not being zero and no spaces in between). It
catches one US zipcode (Williamsville, NY 14221) in my database as well,
but apart from that it works well.

probably one could make the regexp more compact, but keeping the two
types of zipcodes separate helps me remembering what I did....

all the best

-- frank


_______________________________________________
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to