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::prospero -- Returns a pattern for prospero URIs.

Author

Bugs And Irritations

       Bound to be plenty.

Description

$RE{URI}{prospero}
       Returns a pattern that matches prospero URIs, as defined by RFC 1738.  prospero URIs have the form:

           "prospero:" "//" host [ ":" port ] "/" path [ fieldspec ] *

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

       $1  The complete URI.

       $2  The scheme.

       $3  The hostname.

       $4  The port, if given.

       $5  The propero path.

       $6  The field specifications, if given. There can be more field specifications; they will all be returned
           in $6.

Name

       Regexp::Common::URI::prospero -- Returns a pattern for prospero URIs.

References

[RFC1738]
           Berners-Lee, Tim, Masinter, L., McCahill, M.: UniformResourceLocators(URL). December 1994.

See Also

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

Synopsis

           use Regexp::Common qw /URI/;

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

See Also