Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b174478fcf
Fetching contributors…

Cannot retrieve contributors at this time

741 lines (741 sloc) 16.373 kb
<?php
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '
1\\d{7,12}|
[2-9]\\d{9,10}
',
'PossibleNumberPattern' => '\\d{6,13}',
'ExampleNumber' => '',
),
'fixedLine' =>
array (
'NationalNumberPattern' => '
(?:
11|
2[02]|
33|
4[04]|
79
)[2-6]\\d{7}|
80[2-46]\\d{7}|
(?:
1(?:
2[0-249]|
3[0-25]|
4[145]|
[59][14]|
6[014]|
7[1257]|
8[01346]
)|
2(?:
1[257]|
3[013]|
4[01]|
5[0137]|
6[0158]|
78|
8[1568]|
9[14]
)|
3(?:
26|
4[1-3]|
5[34]|
6[01489]|
7[02-46]|
8[159]
)|
4(?:
1[36]|
2[1-47]|
3[15]|
5[12]|
6[126-9]|
7[0-24-9]|
8[013-57]|
9[014-7]
)|
5(?:
[136][25]|
22|
4[28]|
5[12]|
[78]1|
9[15]
)|
6(?:
12|
[2345]1|
57|
6[13]|
7[14]|
80
)|
7(?:
12|
2[14]|
3[134]|
4[47]|
5[15]|
[67]1|
88
)|
8(?:
16|
2[014]|
3[126]|
6[136]|
7[078]|
8[34]|
91
)
)[2-6]\\d{6}|
(?:
(?:
1(?:
2[35-8]|
3[346-9]|
4[236-9]|
[59][0235-9]|
6[235-9]|
7[34689]|
8[257-9]
)|
2(?:
1[134689]|
3[24-8]|
4[2-8]|
5[25689]|
6[2-4679]|
7[13-79]|
8[2-479]|
9[235-9]
)|
3(?:
01|
1[79]|
2[1-5]|
4[25-8]|
5[125689]|
6[235-7]|
7[157-9]|
8[2-467]
)|
4(?:
1[14578]|
2[5689]|
3[2-467]|
5[4-7]|
6[35]|
73|
8[2689]|
9[2389]
)|
5(?:
[16][146-9]|
2[14-8]|
3[1346]|
4[14-69]|
5[46]|
7[2-4]|
8[2-8]|
9[246]
)|
6(?:
1[1358]|
2[2457]|
3[2-4]|
4[235-7]|
5[2-689]|
6[24-58]|
7[23-689]|
8[1-6]
)|
8(?:
1[1357-9]|
2[235-8]|
3[03-57-9]|
4[0-24-9]|
5\\d|
6[2457-9]|
7[1-6]|
8[1256]|
9[2-4]
)
)\\d|
7(?:
(?:
1[013-9]|
2[0235-9]|
3[2679]|
4[1-35689]|
5[2-46-9]|
[67][02-9]|
9\\d
)\\d|
8(?:
2[0-6]|
[013-8]\\d
)
)
)[2-6]\\d{5}
',
'PossibleNumberPattern' => '\\d{6,10}',
'ExampleNumber' => '1123456789',
),
'mobile' =>
array (
'NationalNumberPattern' => '
(?:
7(?:
2(?:
0[04-9]|
5[09]|
7[5-8]|
9[389]
)|
3(?:
0[13-9]|
5[0-4789]|
7[3679]|
8[1-9]|
9[689]
)|
4(?:
0[1245789]|
1[15-9]|
[29][89]|
39|
8[389]
)|
5(?:
0[0-5789]|
[47]9|
[25]0|
6[6-9]|
[89][7-9]
)|
6(?:
0[027]|
12|
20|
3[19]|
5[45]|
6[5-9]|
7[679]|
9[6-9]
)|
7(?:
0[27-9]|
[39][5-9]|
42|
60
)|
8(?:
[03][07-9]|
14|
2[7-9]|
4[25]|
6[09]|
7\\d|
9[013-9]
)
)|
8(?:
0(?:
[01589]\\d|
66
)|
1(?:
[024]\\d|
1[56]|
30|
7[19]|
97
)|
2(?:
[2369]\\d|
52|
7[01357]|
8[567]
)|
3(?:
0[0235-8]|
4[14789]|
74|
90
)|
4(?:
[02-58]\\d|
10|
6[09]
)|
5(?:
0[079]|
11|
2\\d|
30|
4[47]|
53|
7[45]|
85|
9[015]
)|
6(?:
[0589]\\d|
7[09]
)|
7(?:
1[24]|
33|
[2569]\\d
)|
8(?:
[07-9]\\d|
17|
2[024-8]|
44|
5[3589]|
6[0167]
)|
9(?:
[057-9]\\d|
2[35-9]|
3[019]|
4[036-8]|
6[0-46-9]
)
)|
9\\d{3}
)\\d{6}
',
'PossibleNumberPattern' => '\\d{10}',
'ExampleNumber' => '9123456789',
),
'tollFree' =>
array (
'NationalNumberPattern' => '
1(?:
600\\d{6}|
80(?:
0\\d{4,8}|
3\\d{9}
)
)
',
'PossibleNumberPattern' => '\\d{8,13}',
'ExampleNumber' => '1800123456',
),
'premiumRate' =>
array (
'NationalNumberPattern' => '186[12]\\d{9}',
'PossibleNumberPattern' => '\\d{13}',
'ExampleNumber' => '1861123456789',
),
'sharedCost' =>
array (
'NationalNumberPattern' => 'NA',
'PossibleNumberPattern' => 'NA',
'ExampleNumber' => '',
),
'noInternationalDialling' =>
array (
'NationalNumberPattern' => '
1(?:
600\\d{6}|
8(?:
0(?:
0\\d{4,8}|
3\\d{9}
)|
6(?:
0\\d{7}|
[12]\\d{9}
)
)
)
',
'PossibleNumberPattern' => '\\d{8,13}',
'ExampleNumber' => '1800123456',
),
'id' => 'IN',
'countryCode' => 91,
'internationalPrefix' => '00',
'preferredInternationalPrefix' => '',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
array (
0 =>
array (
'pattern' => '(\\d{2})(\\d{2})(\\d{6})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '
7(?:
2[0579]|
3[057-9]|
4[0-389]|
5[024-9]|
6[0-35-9]|
7[03469]|
8[0-4679]
)|
8(?:
0[01589]|
1[0-479]|
2[236-9]|
3[0479]|
4[0-68]|
5[0-57-9]
6[05789]
7[123569]|
8[0124-9]|
9[02-9]
)|
9
',
1 => '
7(?:
2(?:
0[04-9]|
5[09]|
7[5-8]|
9[389]
)|
3(?:
0[13-9]|
5[0-4789]|
7[3679]|
8[1-9]|
9[689]
)|
4(?:
0[1245789]|
1[15-9]|
[29][89]|
39|
8[389]
)|
5(?:
0[0-5789]|
[47]9|
[25]0|
6[6-9]|
[89][7-9]
)|
6(?:
0[027]|
12|
20|
3[19]|
5[45]|
6[5-9]|
7[679]|
9[6-9]
)|
7(?:
0[27-9]|
3[5-9]|
42|
60|
9[5-9]
)|
8(?:
[03][07-9]|
14|
2[7-9]|
4[25]|
6[09]|
7|
9[013-9]
)
)|
8(?:
0[01589]|
1(?:
[024]|
1[56]|
30|
7[19]|
97
)|
2(?:
[2369]|
7[01357]|
8[567]
)|
3(?:
0[0235-8]|
4[14789]|
74|
90
)|
4(?:
[02-58]|
10|
6[09]
)|
5(?:
0[079]|
11|
2|
30|
4[47]|
53|
85|
7[45]|
9[015]
)|
6(?:
[0589]|
70
)|
7(?:
1[24]|
33|
[2569]
)|
8(?:
[07-9]|
17|
2[024-8]|
44|
5[3589]|
6[0167]
)|
9(?:
[057-9]|
2[35-9]|
3[019]|
4[03678]|
6[0-46-9]
)
)|
9
',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
),
1 =>
array (
'pattern' => '(\\d{2})(\\d{4})(\\d{4})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '
11|
2[02]|
33|
4[04]|
79|
80[2-46]
',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
),
2 =>
array (
'pattern' => '(\\d{3})(\\d{3})(\\d{4})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '
1(?:
2[0-249]|
3[0-25]|
4[145]|
[569][14]|
7[1257]|
8[1346]|
[68][1-9]
)|
2(?:
1[257]|
3[013]|
4[01]|
5[0137]|
6[0158]|
78|
8[1568]|
9[14]
)|
3(?:
26|
4[1-3]|
5[34]|
6[01489]|
7[02-46]|
8[159]
)|
4(?:
1[36]|
2[1-47]|
3[15]|
5[12]|
6[126-9]|
7[0-24-9]|
8[013-57]|
9[014-7]
)|
5(?:
[136][25]|
22|
4[28]|
5[12]|
[78]1|
9[15]
)|
6(?:
12|
[2345]1|
57|
6[13]|
7[14]|
80
)
',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
),
3 =>
array (
'pattern' => '(\\d{3})(\\d{3})(\\d{4})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '
7(?:
12|
2[14]|
3[134]|
4[47]|
5[15]|
[67]1|
88
)
',
1 => '
7(?:
12|
2[14]|
3[134]|
4[47]|
5(?:
1|
5[2-6]
)|
[67]1|
88
)
',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
),
4 =>
array (
'pattern' => '(\\d{3})(\\d{3})(\\d{4})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '
8(?:
16|
2[014]|
3[126]|
6[136]|
7[078]|
8[34]|
91
)
',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
),
5 =>
array (
'pattern' => '(\\d{4})(\\d{3})(\\d{3})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '
1(?:
[2-579]|
[68][1-9]
)|
[2-8]
',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
),
6 =>
array (
'pattern' => '(1600)(\\d{2})(\\d{4})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '160',
1 => '1600',
),
'nationalPrefixFormattingRule' => '$1',
'domesticCarrierCodeFormattingRule' => '',
),
7 =>
array (
'pattern' => '(1800)(\\d{4,5})',
'format' => '$1 $2',
'leadingDigitsPatterns' =>
array (
0 => '180',
1 => '1800',
),
'nationalPrefixFormattingRule' => '$1',
'domesticCarrierCodeFormattingRule' => '',
),
8 =>
array (
'pattern' => '(18[06]0)(\\d{2,4})(\\d{4})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '18[06]',
1 => '18[06]0',
),
'nationalPrefixFormattingRule' => '$1',
'domesticCarrierCodeFormattingRule' => '',
),
9 =>
array (
'pattern' => '(\\d{4})(\\d{3})(\\d{4})(\\d{2})',
'format' => '$1 $2 $3 $4',
'leadingDigitsPatterns' =>
array (
0 => '18[06]',
1 => '
18(?:
03|
6[12]
)
',
),
'nationalPrefixFormattingRule' => '$1',
'domesticCarrierCodeFormattingRule' => '',
),
),
'intlNumberFormat' =>
array (
),
'mainCountryForCode' => NULL,
'leadingZeroPossible' => NULL,
);
Jump to Line
Something went wrong with that request. Please try again.