line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Regexp::Common::URI::telnet; |
2
|
|
|
|
|
|
|
|
3
|
72
|
|
|
72
|
|
486
|
use Regexp::Common qw /pattern clean no_defaults/; |
|
72
|
|
|
|
|
344
|
|
|
72
|
|
|
|
|
423
|
|
4
|
72
|
|
|
72
|
|
491
|
use Regexp::Common::URI qw /register_uri/; |
|
72
|
|
|
|
|
155
|
|
|
72
|
|
|
|
|
3056
|
|
5
|
72
|
|
|
72
|
|
451
|
use Regexp::Common::URI::RFC1738 qw /$user $password $host $port/; |
|
72
|
|
|
|
|
177
|
|
|
72
|
|
|
|
|
6532
|
|
6
|
|
|
|
|
|
|
|
7
|
72
|
|
|
72
|
|
444
|
use strict; |
|
72
|
|
|
|
|
160
|
|
|
72
|
|
|
|
|
1854
|
|
8
|
72
|
|
|
72
|
|
436
|
use warnings; |
|
72
|
|
|
|
|
170
|
|
|
72
|
|
|
|
|
1978
|
|
9
|
|
|
|
|
|
|
|
10
|
72
|
|
|
72
|
|
441
|
use vars qw /$VERSION/; |
|
72
|
|
|
|
|
169
|
|
|
72
|
|
|
|
|
6992
|
|
11
|
|
|
|
|
|
|
$VERSION = '2017060201'; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
my $telnet_uri = "(?k:(?k:telnet)://(?:(?k:(?k:$user)(?::(?k:$password))?)\@)?" |
15
|
|
|
|
|
|
|
. "(?k:(?k:$host)(?::(?k:$port))?)(?k:/)?)"; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
register_uri telnet => $telnet_uri; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
pattern name => [qw (URI telnet)], |
20
|
|
|
|
|
|
|
create => $telnet_uri, |
21
|
|
|
|
|
|
|
; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__END__ |