Skip to content

New Method: postalCodeCA #1118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

nschonni
Copy link
Collaborator

Checks for Canadian postal codes using the base regex from
http://geekswithblogs.net/MainaD/archive/2007/12/03/117321.aspx with
additional constraints from
http://www.canadapost.ca/tools/pg/manual/PGaddress-e.asp.

  • First character must be a valid forward station character
  • Must be all caps
  • Must use space for forth character

@nschonni
Copy link
Collaborator Author

Note: This is camel case compared for the other postal code rules

Checks for Canadian postal codes using the base regex from
http://geekswithblogs.net/MainaD/archive/2007/12/03/117321.aspx with
additional constraints from
http://www.canadapost.ca/tools/pg/manual/PGaddress-e.asp.
- First character must be a valid forward station character
- Must be all caps
- Must use space for forth character
@jzaefferer
Copy link
Collaborator

Thanks!

@nschonni nschonni deleted the postal-code-ca branch May 20, 2014 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants