For the module Regexp::Common, I'm looking for the formats of
zip (or postal) codes of various countries. Thanks to another
mailing list, I've the formats for the Netherlands, Britain
and Australia. 

For the US, I have: /\d{5}(-\d{4})?/, but I don't know whether
any digit combination is allowed - does the format allow for
leading 0s?

For Canada, I have: /[A-Z]\d[A-Z] \d[A-Z]\d/, but does Canada
use all 26 letters? Is there any checksum buildin?

For all other countries, I've nothing so far. Can anyone help?



Abigail

Reply via email to