File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ const phones = {
102102 'fr-BJ' : / ^ ( \+ 2 2 9 ) \d { 8 } $ / ,
103103 'fr-CD' : / ^ ( \+ ? 2 4 3 | 0 ) ? ( 8 | 9 ) \d { 8 } $ / ,
104104 'fr-CM' : / ^ ( \+ ? 2 3 7 ) 6 [ 0 - 9 ] { 8 } $ / ,
105- 'fr-DJ' : / ^ (?: \+ 2 5 3 ) ? 7 \d { 7 } $ / ,
105+ 'fr-DJ' : / ^ (?: \+ 2 5 3 ) ? 7 7 [ 6 - 8 ] \d { 5 } $ / ,
106106 'fr-FR' : / ^ ( \+ ? 3 3 | 0 ) [ 6 7 ] \d { 8 } $ / ,
107107 'fr-GF' : / ^ ( \+ ? 5 9 4 | 0 | 0 0 5 9 4 ) [ 6 7 ] \d { 8 } $ / ,
108108 'fr-GP' : / ^ ( \+ ? 5 9 0 | 0 | 0 0 5 9 0 ) [ 6 7 ] \d { 8 } $ / ,
Original file line number Diff line number Diff line change @@ -9862,37 +9862,54 @@ describe('Validators', () => {
98629862 {
98639863 locale : 'fr-DJ' ,
98649864 valid : [
9865- '77123456' ,
9866- '75123456' ,
9867- '76123456' ,
9868- '74123456' ,
9869- '78123456' ,
9870- '+25377123456' ,
9871- '+25375123456' ,
9872- '+25376123456' ,
9873- '+25374123456' ,
9874- '+25378123456' ,
9875- ] ,
9876- invalid : [
9877- '21123456' ,
9878- '27123456' ,
9879- '+25321123456' ,
9880- '+25327123456' ,
9881- '88123456' ,
9882- '+25388123456' ,
9883- '7712345' ,
9884- '771234567' ,
9885- '+253771234567' ,
9886- '12345678' ,
9887- '+25477123456' ,
9888- '77-123456' ,
9889- '77 123456' ,
9890- 'abcdefghi' ,
9865+ '77600000' ,
9866+ '77699999' ,
9867+ '77700000' ,
9868+ '77799999' ,
9869+ '77800000' ,
9870+ '77899999' ,
9871+ '77654321' ,
9872+ '77765432' ,
9873+ '77876543' ,
9874+ '+25377600000' ,
9875+ '+25377699999' ,
9876+ '+25377700000' ,
9877+ '+25377799999' ,
9878+ '+25377800000' ,
9879+ '+25377899999' ,
9880+ ] ,
9881+ invalid : [
9882+ '21600000' ,
9883+ '27600000' ,
9884+ '70600000' ,
9885+ '71600000' ,
9886+ '72600000' ,
9887+ '73600000' ,
9888+ '74600000' ,
9889+ '75600000' ,
9890+ '76600000' ,
9891+ '78600000' ,
9892+ '79600000' ,
9893+ '77500000' ,
9894+ '77900000' ,
9895+ '77000000' ,
9896+ '77100000' ,
9897+ '77599999' ,
9898+ '77999999' ,
9899+ '7760000' ,
9900+ '776000000' ,
9901+ '+2537760000' ,
9902+ '+253776000000' ,
9903+ '+25477600000' ,
9904+ '+25177600000' ,
9905+ '77 600000' ,
9906+ '77-600000' ,
9907+ '+253 77600000' ,
98919908 '' ,
98929909 '+253' ,
9893- '+25377' ,
98949910 '00000000' ,
9895- '+25300000000' ,
9911+ 'abcdefgh' ,
9912+ '77600000x' ,
98969913 ] ,
98979914 } ,
98989915 {
You can’t perform that action at this time.
0 commit comments