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

Regexp::Common::URI::pop3pm

Usage

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

Overview

$re{uri}{pop}

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

    "pop:" "//" [ user [ ";AUTH" ( "*" | auth_type ) ] "@" ]
                  host [ ":" port ]

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

$1

The complete URI.

$2

The scheme.

$3

The user, if given.

$4

The authentication type, if given (could be a *).

$5

The host.

$6

The port, if given.

References

[RFC 2384]

Gellens, R.: POP URL Scheme. August 1998.

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.