DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

Regexp::Common::URI::prospero




NAME

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


SYNOPSIS

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


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.


REFERENCES

[RFC 1738]

Berners-Lee, Tim, Masinter, L., McCahill, M.: Uniform Resource Locators (URL). December 1994.


HISTORY

 $Log: prospero.pm,v $
 Revision 2.100  2003/03/25 23:10:44  abigail
 prospero URIs


SEE ALSO

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


AUTHOR

Abigail. (regexp-common@abigail.nl).


BUGS AND IRRITATIONS

Bound to be plenty.


COPYRIGHT

   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)