countries
countries copied to clipboard
postal_code_format method automatically add "\A" & "\Z"
cn = Country['CN']
cn.postal_code_format => "\\A\\d{6}\\Z"
while
cn.data["postal_code_format"] => "\\d{6}"