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

omocodia #1

Closed
paolodina opened this issue Sep 21, 2014 · 2 comments
Closed

omocodia #1

paolodina opened this issue Sep 21, 2014 · 2 comments

Comments

@paolodina
Copy link

L'espressione regolare per l'omocodia dovrebbe essere:

[A-Za-z]{6}[0-9LMNPQRSTUV]{2}[A-Za-z]{1}[0-9LMNPQRSTUV]{2}[A-Za-z]{1}[0-9LMNPQRSTUV]{3}[A-Za-z]{1}

Vedi "Persone fisiche con identica espressione alfanumerica (omocodia)" http://www.agenziaentrate.gov.it/wps/content/Nsilib/Nsi/Home/CosaDeviFare/Richiedere/Codice+fiscale+e+tessera+sanitaria/Richiesta+TS_CF/SchedaI/Informazioni+codificazione+pf/

@paolodina
Copy link
Author

Inoltre mettendo un $ alla fine si può limitare il numero dei caratteri a 16.

@facciocose
Copy link
Owner

Ho aggiornato il validatore e scritto un test per un codice fiscale omocodico.

Adesso non dovrebbero esserci più problemi.

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

No branches or pull requests

2 participants