Skip to content

fix(i18n/fr): reject comma as gender/Corsica suffix in fr_ssn - #491

Merged
nandgator merged 1 commit into
masterfrom
fix-fr-ssn-comma-regex
Oct 10, 2026
Merged

nandgator merged 1 commit into
masterfrom
fix-fr-ssn-comma-regex

Conversation

@nandgator

Copy link
Copy Markdown
Collaborator

Takes the fr_ssn change from #469 (authorship preserved): the character classes [1,2] and 2[A,B] also matched a literal comma. The Indian PAN part of #469 already landed via #478.

🤖 Generated with Claude Code

The SSN regex used the character classes [1,2] and 2[A,B], which also
match a literal comma. fr_ssn(', 84 12 76 451 089') was therefore
accepted as valid. Drop the commas ([12] and [AB]); valid SSNs are
unaffected.
@nandgator
nandgator merged commit 9110f54 into master Oct 10, 2026
7 checks passed
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