1Regexp::Common::URI::poUps(e3r)Contributed Perl DocumentRaetgieoxnp::Common::URI::pop(3)
2
3
4

NAME

6       Regexp::Common::URI::pop -- Returns a pattern for POP URIs.
7

SYNOPSIS

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

DESCRIPTION

16   $RE{URI}{POP}
17       Returns a pattern that matches POP URIs, as defined by RFC 2384.  POP
18       URIs have the form:
19
20           "pop:" "//" [ user [ ";AUTH" ( "*" | auth_type ) ] "@" ]
21                         host [ ":" port ]
22
23       Under "{-keep}", the following are returned:
24
25       $1  The complete URI.
26
27       $2  The scheme.
28
29       $3  The user, if given.
30
31       $4  The authentication type, if given (could be a *).
32
33       $5  The host.
34
35       $6  The port, if given.
36

REFERENCES

38       [RFC 2384]
39           Gellens, R.: POP URL Scheme. August 1998.
40

SEE ALSO

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

AUTHOR

45       Abigail. (regexp-common@abigail.be).
46

BUGS AND IRRITATIONS

48       Bound to be plenty.
49
51       This software is Copyright (c) 2001 - 2017, Damian Conway and Abigail.
52
53       This module is free software, and maybe used under any of the following
54       licenses:
55
56        1) The Perl Artistic License.     See the file COPYRIGHT.AL.
57        2) The Perl Artistic License 2.0. See the file COPYRIGHT.AL2.
58        3) The BSD License.               See the file COPYRIGHT.BSD.
59        4) The MIT License.               See the file COPYRIGHT.MIT.
60
61
62
63perl v5.36.0                      2022-07-22       Regexp::Common::URI::pop(3)
Impressum