1Regexp::Common::URI::poUps(e3r)Contributed Perl DocumentRaetgieoxnp::Common::URI::pop(3)
2
3
4
6 Regexp::Common::URI::pop -- Returns a pattern for POP URIs.
7
9 use Regexp::Common qw /URI/;
10
11 while (<>) {
12 /$RE{URI}{POP}/ and print "Contains a POP URI.\n";
13 }
14
16 $RE{URI}{POP}
17
18 Returns a pattern that matches POP URIs, as defined by RFC 2384. POP
19 URIs have the form:
20
21 "pop:" "//" [ user [ ";AUTH" ( "*" ⎪ auth_type ) ] "@" ]
22 host [ ":" port ]
23
24 Under "{-keep}", the following are returned:
25
26 $1 The complete URI.
27
28 $2 The scheme.
29
30 $3 The user, if given.
31
32 $4 The authentication type, if given (could be a *).
33
34 $5 The host.
35
36 $6 The port, if given.
37
39 [RFC 2384]
40 Gellens, R.: POP URL Scheme. August 1998.
41
43 $Log: pop.pm,v $
44 Revision 2.100 2003/03/25 23:10:23 abigail
45 POP URIs
46
48 Regexp::Common::URI for other supported URIs.
49
51 Abigail. (regexp-common@abigail.nl).
52
54 Bound to be plenty.
55
57 Copyright (c) 2003, Damian Conway and Abigail. All Rights Reserved.
58 This module is free software. It may be used, redistributed
59 and/or modified under the terms of the Perl Artistic License
60 (see http://www.perl.com/perl/misc/Artistic.html)
61
62
63
64perl v5.8.8 2003-03-23 Regexp::Common::URI::pop(3)