Regexp::Common::URI::prospero(3pm)

Regexp::Common::URI::prospero3pm

Usage

    use Regexp::Common qw /URI/;
    while (<>) {
        /$RE{URI}{prospero}/ and print "Contains a prospero URI.\n";
    }

Overview

$RE{URI}{prospero}

Returns a pattern that matches prospero URIs, as defined by RFC 1738. prospero URIs have the form:

    "prospero:" "//" host [ ":" port ] "/" path [ fieldspec ] *

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

$1

The complete URI.

$2

The scheme.

$3

The hostname.

$4

The port, if given.

$5

The propero path.

$6

The field specifications, if given. There can be more field specifications; they will all be returned in $6.

References

[RFC 1738]

Berners-Lee, Tim, Masinter, L., McCahill, M.: Uniform Resource Locators (URL). December 1994.

Bugs and irritations

Bound to be plenty.

Releases

12 releases since Debian 3.1 (Sarge); the text changed 10 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9
  8. 10–11
  9. 12
  10. 13
  11. Arch

Author

Abigail. ([email protected]).

From perl-regexp-common 2024080801-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.