File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ const phones = {
113113 'tr-TR' : / ^ ( \+ ? 9 0 | 0 ) ? 5 \d { 9 } $ / ,
114114 'uk-UA' : / ^ ( \+ ? 3 8 | 8 ) ? 0 \d { 9 } $ / ,
115115 'uz-UZ' : / ^ ( \+ ? 9 9 8 ) ? ( 6 [ 1 2 5 - 7 9 ] | 7 [ 1 - 6 9 ] | 8 8 | 9 \d ) \d { 7 } $ / ,
116- 'vi-VN' : / ^ ( \+ ? 8 4 | 0 ) ( ( 3 ( [ 2 - 9 ] ) ) | ( 5 ( [ 2 6 8 9 ] ) ) | ( 7 ( [ 0 | 6 - 9 ] ) ) | ( 8 ( [ 1 - 9 ] ) ) | ( 9 ( [ 0 - 9 ] ) ) ) ( [ 0 - 9 ] { 7 } ) $ / ,
116+ 'vi-VN' : / ^ ( ( \+ ? 8 4 ) | 0 ) ( ( 3 ( [ 2 - 9 ] ) ) | ( 5 ( [ 2 5 6 8 9 ] ) ) | ( 7 ( [ 0 | 6 - 9 ] ) ) | ( 8 ( [ 1 - 9 ] ) ) | ( 9 ( [ 0 - 9 ] ) ) ) ( [ 0 - 9 ] { 7 } ) $ / ,
117117 'zh-CN' : / ^ ( ( \+ | 0 0 ) 8 6 ) ? 1 ( [ 3 4 5 6 7 8 9 ] [ 0 - 9 ] | 4 [ 5 7 9 ] | 6 [ 2 5 6 7 ] | 7 [ 0 1 2 3 5 6 7 8 ] | 9 [ 0 1 2 3 5 6 7 8 9 ] ) [ 0 - 9 ] { 8 } $ / ,
118118 'zh-TW' : / ^ ( \+ ? 8 8 6 \- ? | 0 ) ? 9 \d { 8 } $ / ,
119119} ;
Original file line number Diff line number Diff line change @@ -6748,6 +6748,8 @@ describe('Validators', () => {
67486748 '0892405867' ,
67496749 '+84888696413' ,
67506750 '0878123456' ,
6751+ '84781234567' ,
6752+ '0553803765' ,
67516753 ] ,
67526754 invalid : [
67536755 '12345' ,
@@ -6759,6 +6761,8 @@ describe('Validators', () => {
67596761 '+841698765432' ,
67606762 '841626543219' ,
67616763 '0533803765' ,
6764+ '08712345678' ,
6765+ '+0321234567' ,
67626766 ] ,
67636767 } ,
67646768 {
You can’t perform that action at this time.
0 commit comments