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

$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: The complete URI. The scheme. The user, if given. The authentication type, if given (could be a *). The host. The port, if given. Gellens, R.: POP URL Scheme. August 1998. $Log: pop.pm,v $ Revision 2.100 2003/03/25 23:10:23 abigail POP URIs Regexp::Common::URI for other supported URIs. Abigail. (regexp-common@abigail.nl). Bound to be plenty. Copyright (c) 2003, Damian Conway and Abigail. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the terms of the Perl Artistic License (see http://www.perl.com/perl/misc/Artistic.html)