line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Regexp::Common::URI::file; |
2
|
|
|
|
|
|
|
|
3
|
71
|
|
|
71
|
|
277
|
use Regexp::Common qw /pattern clean no_defaults/; |
|
71
|
|
|
|
|
70
|
|
|
71
|
|
|
|
|
324
|
|
4
|
71
|
|
|
71
|
|
290
|
use Regexp::Common::URI qw /register_uri/; |
|
71
|
|
|
|
|
81
|
|
|
71
|
|
|
|
|
2677
|
|
5
|
71
|
|
|
71
|
|
21787
|
use Regexp::Common::URI::RFC1738 qw /$host $fpath/; |
|
71
|
|
|
|
|
138
|
|
|
71
|
|
|
|
|
7278
|
|
6
|
|
|
|
|
|
|
|
7
|
71
|
|
|
71
|
|
326
|
use strict; |
|
71
|
|
|
|
|
69
|
|
|
71
|
|
|
|
|
1119
|
|
8
|
71
|
|
|
71
|
|
193
|
use warnings; |
|
71
|
|
|
|
|
138
|
|
|
71
|
|
|
|
|
1438
|
|
9
|
|
|
|
|
|
|
|
10
|
71
|
|
|
71
|
|
194
|
use vars qw /$VERSION/; |
|
71
|
|
|
|
|
67
|
|
|
71
|
|
|
|
|
5551
|
|
11
|
|
|
|
|
|
|
$VERSION = '2016060801'; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
my $scheme = 'file'; |
15
|
|
|
|
|
|
|
my $uri = "(?k:(?k:$scheme)://(?k:(?k:(?:$host|localhost)?)" . |
16
|
|
|
|
|
|
|
"(?k:/(?k:$fpath))))"; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
register_uri $scheme => $uri; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
pattern name => [qw (URI file)], |
21
|
|
|
|
|
|
|
create => $uri, |
22
|
|
|
|
|
|
|
; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |