-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(isMobillePhone): update nl_NL locale (#1311)
* nl_NL formatting update 6 is not optional: correct: 0612345678, incorrect: 012345678 - change: '6?' to '6{1}' countryCode ('+31'), may also contain '00' instead of '+' correct, either: '+31612345678' || '0031612345678' - change: '(\+)' to '(\+|00)' when specifying country code it's optional to provide '0' between braces before 6 (eg: '+31(0)6...') correct, either: '+31(0)612345678' || +31612345678 - change: ^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$ * fix nl_NL mobile phone same as previous commit * updated test for new nl_NL mobile format * replace ; with , to succeed tests * updating (in)valid testdata to include previous data
- Loading branch information
Erik
authored
May 29, 2020
1 parent
3dfad25
commit 1e4011a
Showing
3 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters