Skip to content
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

Add French ZIP/Postal Code #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add French ZIP/Postal Code #42

wants to merge 1 commit into from

Conversation

zessx
Copy link

@zessx zessx commented Dec 5, 2018

Ranges:

  • 00000 to 00999: army exclusive usage
  • 01000 to 95999: metropolitan zip codes
  • 97000 to 97999: overseas department (DOM)
  • 98000 to 98999: overseas territory (TOM)
  • 99000 to 99999: reserved for special service "La Poste Paris Entreprise"

Special cases:

  • 29Sxx and 29Nxx (Finistère) no longer exist since 1972, but are supported by this regex
  • 2Axxx and 2Bxxxx (Corse) don't exist as zip codes (they are both merged into 20xxx)
  • 96xxx is the only range unused in French zip codes

Ranges:  
- `00000` to `00999`: army exclusive usage
- `01000` to `95999`: metropolitan zip codes
- `97000` to `97999`: overseas department (DOM)
- `98000` to `98999`: overseas territory (TOM)
- `99000` to `99999`: reserved for special service "La Poste Paris Entreprise"

Special cases:
- `29Sxx` and `29Nxx` (Finistère) no longer exist since 1972, but are supported by this regex
- `2Axxx` and `2Bxxxx` (Corse) don't exist as zip codes (they are both merged into `20xxx`)
- `96xxx` is the only range unused in French zip codes
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