-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Support german stuff #477
Support german stuff #477
Conversation
Status? |
This is too much of a breaking change I'd say. I'd accept a PR where you could specify the locale, e.g. |
@@ -99,7 +99,8 @@ | |||
'nn-NO': /^(\+?47)?[49]\d{7}$/, | |||
'vi-VN': /^(0|\+?84)?((1(2([0-9])|6([2-9])|88|99))|(9((?!5)[0-9])))([0-9]{7})$/, | |||
'en-NZ': /^(\+?64|0)2\d{7,9}$/, | |||
'en-IN': /^(\+?91|0)?[789]\d{9}$/ | |||
'en-IN': /^(\+?91|0)?[789]\d{9}$/, | |||
'de-DE': /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{1,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, this is too verbose. The other mobile phone validators expect that you've stripped non-numeric characters.
Looking good. Can you update the README? |
@MrBoolean Why |
No description provided.