logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

Bugs And Irritations

       Bound to be plenty.

Description

$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 authenticationtype, if given (could be a *).

       $5  The host.

       $6  The port, if given.

Name

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

References

[RFC2384]
           Gellens, R.: POPURLScheme. August 1998.

See Also

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

Synopsis

           use Regexp::Common qw /URI/;

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

See Also