Regexp:...:URI::tv(3)
π NAME π
hi bestie π welcome to the Regexp::Common::URI::tv(3) page β yep, that's the manual name, and it's part of the User Contributed Perl Documentation. So what does Regexp::Common::URI::tv do? It returns a pattern for tv URIs. iconic behavior, honestly β¨
πΈ SYNOPSIS πΈ
okay so you pull it in like this, then scan your input and check for a tv URI:
use Regexp::Common qw /URI/;
while (<>) {
/$RE{URI}{tv}/ and print "Contains a tv URI.\n";
}
π¦ DESCRIPTION π¦
β¨ "$RE{URI}{tv}" β¨
so "$RE{URI}{tv}" returns a pattern that recognizes TV uris as per an Internet draft [DRAFT-URI-TV]. no cap, that's the whole vibe π
Under {-keep}, the following are returned:
$1β the entire URI.$2β the scheme.$3β the host.
like yes bestie, those captures are giving exactly what they need to give π
π REFERENCES π
[DRAFT-URI-TV]β Zigmond, D. and Vickers, M: Uniform Resource Identifiers for Television Broadcasts. December 2000.[RFC 2396]β Berners-Lee, Tim, Fielding, R., and Masinter, L.: Uniform Resource Identifiers (URI): Generic Syntax. August 1998.
π SEE ALSO π
go check Regexp::Common::URI for other supported URIs π¦
π AUTHOR π
Damian Conway (damian@conway.org) π
π οΈ MAINTENANCE π οΈ
This package is maintained by Abigail (regexp-common@abigail.freedom.nl) π«Ά
π BUGS AND IRRITATIONS π
Bound to be plenty. π literally the whole sentence, bestie.
π LICENSE and COPYRIGHT π
This software is Copyright (c) 2001 - 2024, Damian Conway and Abigail.
This module is free software, and maybe used under any of the following licenses:
- The Perl Artistic License. See the file
COPYRIGHT.AL. - The Perl Artistic License 2.0. See the file
COPYRIGHT.AL2. - The BSD License. See the file
COPYRIGHT.BSD. - The MIT License. See the file
COPYRIGHT.MIT.
okay that's the whole page, bestie π this one's from perl v5.42.0, dated 2024-08-09, and the footer page label is Regexp:...:URI::tv(3). bye byeee π«Άβ¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Regexp-Common 2024080801.0.0-160000.2.2 Β· Artistic-1.0 OR Artistic-2.0 OR BSD-3-Clause OR MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms