line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Regexp::Common::URI::tel; |
2
|
|
|
|
|
|
|
|
3
|
71
|
|
|
71
|
|
228
|
use Regexp::Common qw /pattern clean no_defaults/; |
|
71
|
|
|
|
|
72
|
|
|
71
|
|
|
|
|
296
|
|
4
|
71
|
|
|
71
|
|
242
|
use Regexp::Common::URI qw /register_uri/; |
|
71
|
|
|
|
|
87
|
|
|
71
|
|
|
|
|
2543
|
|
5
|
71
|
|
|
|
|
4809
|
use Regexp::Common::URI::RFC2806 qw /$telephone_subscriber |
6
|
71
|
|
|
71
|
|
271
|
$telephone_subscriber_no_future/; |
|
71
|
|
|
|
|
72
|
|
7
|
|
|
|
|
|
|
|
8
|
71
|
|
|
71
|
|
279
|
use strict; |
|
71
|
|
|
|
|
165
|
|
|
71
|
|
|
|
|
1160
|
|
9
|
71
|
|
|
71
|
|
198
|
use warnings; |
|
71
|
|
|
|
|
111
|
|
|
71
|
|
|
|
|
1547
|
|
10
|
|
|
|
|
|
|
|
11
|
71
|
|
|
71
|
|
223
|
use vars qw /$VERSION/; |
|
71
|
|
|
|
|
70
|
|
|
71
|
|
|
|
|
6809
|
|
12
|
|
|
|
|
|
|
$VERSION = '2016060801'; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
my $tel_scheme = 'tel'; |
16
|
|
|
|
|
|
|
my $tel_uri = "(?k:(?k:$tel_scheme):(?k:$telephone_subscriber))"; |
17
|
|
|
|
|
|
|
my $tel_uri_nf = "(?k:(?k:$tel_scheme):(?k:$telephone_subscriber_no_future))"; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
register_uri $tel_scheme => $tel_uri; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
pattern name => [qw (URI tel)], |
22
|
|
|
|
|
|
|
create => $tel_uri |
23
|
|
|
|
|
|
|
; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
pattern name => [qw (URI tel nofuture)], |
26
|
|
|
|
|
|
|
create => $tel_uri_nf |
27
|
|
|
|
|
|
|
; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |