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
18 Returns a pattern that recognizes TV uris as per an Internet draft
19 [DRAFT-URI-TV].
20
21 Under "{-keep}", the following are returned:
22
23 $1 The entire URI.
24
25 $2 The scheme.
26
27 $3 The host.
28
30 [DRAFT-URI-TV]
31 Zigmond, D. and Vickers, M: Uniform Resource Identifiers for Tele‐
32 vision Broadcasts. December 2000.
33
34 [RFC 2396]
35 Berners-Lee, Tim, Fielding, R., and Masinter, L.: Uniform Resource
36 Identifiers (URI): Generic Syntax. August 1998.
37
39 $Log: tv.pm,v $
40 Revision 2.100 2003/02/10 21:06:44 abigail
41 tv URI
42
44 Regexp::Common::URI for other supported URIs.
45
47 Damian Conway (damian@conway.org)
48
50 This package is maintained by Abigail (regexp-common@abigail.nl).
51
53 Bound to be plenty.
54
56 Copyright (c) 2001 - 2003, Damian Conway. All Rights Reserved.
57 This module is free software. It may be used, redistributed
58 and/or modified under the terms of the Perl Artistic License
59 (see http://www.perl.com/perl/misc/Artistic.html)
60
61
62
63perl v5.8.8 2003-03-23 Regexp::Common::URI::tv(3)