Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add stricter regex for validating French postal codes
Updated the postal code validation regex to enforce the specific structure of French postal codes. The new regex ensures that the first two digits fall within the valid ranges (01–95 for metropolitan areas and 96–98 for overseas territories), while still allowing any valid 5-digit code. This improves accuracy over the previous general 5-digit validation, which allowed invalid codes.
- Loading branch information