1Regexp::Common::URI::tvU(s3e)r Contributed Perl DocumentaRteigoenxp::Common::URI::tv(3)
2
3
4
6 Regexp::Common::URI::tv -- Returns a pattern for tv URIs.
7
9 use Regexp::Common qw /URI/;
10
11 while (<>) {
12 /$RE{URI}{tv}/ and print "Contains a tv URI.\n";
13 }
14
16 $RE{URI}{tv}
17 Returns a pattern that recognizes TV uris as per an Internet draft
18 [DRAFT-URI-TV].
19
20 Under "{-keep}", the following are returned:
21
22 $1 The entire URI.
23
24 $2 The scheme.
25
26 $3 The host.
27
29 [DRAFT-URI-TV]
30 Zigmond, D. and Vickers, M: Uniform Resource Identifiers for
31 Television Broadcasts. December 2000.
32
33 [RFC 2396]
34 Berners-Lee, Tim, Fielding, R., and Masinter, L.: Uniform Resource
35 Identifiers (URI): Generic Syntax. August 1998.
36
38 Regexp::Common::URI for other supported URIs.
39
41 Damian Conway (damian@conway.org)
42
44 This package is maintained by Abigail (regexp-common@abigail.be).
45
47 Bound to be plenty.
48
50 This software is Copyright (c) 2001 - 2017, Damian Conway and Abigail.
51
52 This module is free software, and maybe used under any of the following
53 licenses:
54
55 1) The Perl Artistic License. See the file COPYRIGHT.AL.
56 2) The Perl Artistic License 2.0. See the file COPYRIGHT.AL2.
57 3) The BSD License. See the file COPYRIGHT.BSD.
58 4) The MIT License. See the file COPYRIGHT.MIT.
59
60
61
62perl v5.32.0 2020-07-28 Regexp::Common::URI::tv(3)