line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Regexp::Common::URI::prospero; |
2
|
|
|
|
|
|
|
|
3
|
72
|
|
|
72
|
|
253
|
use Regexp::Common qw /pattern clean no_defaults/; |
|
72
|
|
|
|
|
168
|
|
|
72
|
|
|
|
|
328
|
|
4
|
72
|
|
|
72
|
|
261
|
use Regexp::Common::URI qw /register_uri/; |
|
72
|
|
|
|
|
91
|
|
|
72
|
|
|
|
|
2707
|
|
5
|
72
|
|
|
|
|
6697
|
use Regexp::Common::URI::RFC1738 qw /$host $port $ppath $fieldname $fieldvalue |
6
|
72
|
|
|
72
|
|
241
|
$fieldspec/; |
|
72
|
|
|
|
|
208
|
|
7
|
|
|
|
|
|
|
|
8
|
72
|
|
|
72
|
|
270
|
use strict; |
|
72
|
|
|
|
|
73
|
|
|
72
|
|
|
|
|
1305
|
|
9
|
72
|
|
|
72
|
|
200
|
use warnings; |
|
72
|
|
|
|
|
77
|
|
|
72
|
|
|
|
|
1578
|
|
10
|
|
|
|
|
|
|
|
11
|
72
|
|
|
72
|
|
421
|
use vars qw /$VERSION/; |
|
72
|
|
|
|
|
90
|
|
|
72
|
|
|
|
|
6503
|
|
12
|
|
|
|
|
|
|
$VERSION = '2017040401'; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
my $scheme = 'prospero'; |
16
|
|
|
|
|
|
|
my $uri = "(?k:(?k:$scheme)://(?k:$host)(?::(?k:$port))?" . |
17
|
|
|
|
|
|
|
"/(?k:$ppath)(?k:$fieldspec*))"; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
register_uri $scheme => $uri; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
pattern name => [qw (URI prospero)], |
22
|
|
|
|
|
|
|
create => $uri, |
23
|
|
|
|
|
|
|
; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |