logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Regexp::Common::URI::tv -- Returns a pattern for tv URIs.

Author

       Damian Conway (damian@conway.org)

Bugs And Irritations

       Bound to be plenty.

Description

"$RE{URI}{tv}"
       Returns a pattern that recognizes TV uris as per an Internet draft [DRAFT-URI-TV].

       Under "{-keep}", the following are returned:

       $1  The entire URI.

       $2  The scheme.

       $3  The host.

Maintenance

       This package is maintained by Abigail (regexp-common@abigail.freedom.nl).

Name

       Regexp::Common::URI::tv -- Returns a pattern for tv URIs.

References

[DRAFT-URI-TV]
           Zigmond, D. and Vickers, M: UniformResourceIdentifiersforTelevisionBroadcasts. December 2000.

       [RFC2396]
           Berners-Lee, Tim, Fielding, R., and Masinter, L.: UniformResourceIdentifiers(URI):GenericSyntax.
           August 1998.

See Also

       Regexp::Common::URI for other supported URIs.

Synopsis

           use Regexp::Common qw /URI/;

           while (<>) {
               /$RE{URI}{tv}/       and  print "Contains a tv URI.\n";
           }

See Also