5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# File 'lib/phone_classifier/mobile.rb', line 5
def self.data
@@mobile ||= {
'1' => %w{ [2-9].. }, '30' => %w{ 6.. }, '31' => %w{ 6 }, '32' => %w{4..}, '33' => %w{6 7}, '34' => %w{6. 7.}, '36' => %w{ 20 30 31 70 }, '39' => %w{3..}, '40' => %w{ 7. }, '41' => %w{ 7[6-9] }, '43' => %w{ 67 68 644 65. 66. 67. 68. 69. }, '44' => %w{ 7[4-9].. }, '45' => %w{ 2[0-9] 30 31 40 41 42 5[0-3] 60 61 71 81 9[1-3] }, '46' => %w{ 70 72 73 76 }, '47' => %w{ 9.. 4.. 58. 59. }, '48' => %w{50. 51. 53. 60. 66. 69. 72. 78. 79. 88.}, '49' => %w{ 151 152 157 159 160 162 163 17[0-9] }, '52' => %w{ .. ... }, '54' => %w{ \d{2} \d{3} \d{4} }, '60' => %w{ 10 11 12 13 14 153 154 156 158 16 17 18 19 }, '61' => %w{ 4.. }, '65' => %w{ 8... 9... }, '90' => %w{ 53. 54. 50. 55. }, '91' => %w{ 91 92 93 94 97 98 99 }, '94' => %w{ 71 72 75 77 78 }, '98' => %w{ 91. 92. 93. } , '212' => %w{ 6 }, '213' => %w{ 55 66 697 699 77 790 796 }, '233' => %w{ 20 23 24 26 27 28 50 54 57 }, '234' => %w{ 702[1-9] 70[3-9] 8[01][2-9] }, '248' => %w{ 2 }, '249' => %w{ 9. }, '255' => %w{ 61 65 68 7. }, '350' => %w{ 5. 6. }, '351' => %w{ 9. }, '352' => %w{ 621 628 661 668 691 698 }, '353' => %w{ 8[2-9] }, '354' => %w{ 6.. 7.. 8..}, '356' => %w{ 77 79 98 99 }, '357' => %w{ 95 96 97 99 }, '358' => %w{ 4. 50 }, '359' => %w{ 430 87. 88. 89. 98. }, '370' => %w{ 6.. }, '372' => %w{ 5.. 81. 82.}, '377' => %w{ 4. 6 }, '386' => %w{ 30 40 31 41 51 71 70 64}, '420' => %w{ 60[1-8] 72. 73. 77. 79. 91 }, '421' => %w{ 9.. }, '503' => %w{ 6... 7... }, '509' => %w{ 32 33 34 35 36 37 38 39 4. }, '852' => %w{ 5... 6... 9... }, '970' => %w{ 5. }, '972' => %w{ 5. }, }
end
|