{
    "mode": "perldoc",
    "parameter": "Regexp::Common::URI",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Regexp%3A%3ACommon%3A%3AURI/json",
    "generated": "2026-06-14T00:39:15Z",
    "synopsis": "use Regexp::Common qw /URI/;\nwhile (<>) {\n/$RE{URI}{HTTP}/       and  print \"Contains an HTTP URI.\\n\";\n}",
    "sections": {
        "NAME": {
            "content": "Regexp::Common::URI -- provide patterns for URIs.\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Regexp::Common qw /URI/;\n\nwhile (<>) {\n/$RE{URI}{HTTP}/       and  print \"Contains an HTTP URI.\\n\";\n}\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Patterns for the following URIs are supported: fax, file, FTP, gopher, HTTP, news, NTTP, pop,\nprospero, tel, telnet, tv and WAIS. Each is documented in the *Regexp::Common::URI::scheme*,\nmanual page, for the appropriate scheme (in lowercase), except for *NNTP* URIs which are found\nin *Regexp::Common::URI::news*.\n\n$RE{URI}\nReturn a pattern that recognizes any of the supported URIs. With \"{-keep}\", only the entire URI\nis returned (in $1).\n",
            "subsections": []
        },
        "REFERENCES": {
            "content": "[DRAFT-URI-TV]\nZigmond, D. and Vickers, M: *Uniform Resource Identifiers for Television Broadcasts*.\nDecember 2000.\n\n[DRAFT-URL-FTP]\nCasey, James: *A FTP URL Format*. November 1996.\n\n[RFC 1035]\nMockapetris, P.: *DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION*. November 1987.\n\n[RFC 1738]\nBerners-Lee, Tim, Masinter, L., McCahill, M.: *Uniform Resource Locators (URL)*. December\n1994.\n\n[RFC 2396]\nBerners-Lee, Tim, Fielding, R., and Masinter, L.: *Uniform Resource Identifiers (URI):\nGeneric Syntax*. August 1998.\n\n[RFC 2616]\nFielding, R., Gettys, J., Mogul, J., Frystyk, H., Masinter, L., Leach, P. and Berners-Lee,\nTim: *Hypertext Transfer Protocol -- HTTP/1.1*. June 1999.\n\n[RFC 2806]\nVaha-Sipila, A.: *URLs for Telephone Calls*. April 2000.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Regexp::Common for a general description of how to use this interface.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Damian Conway (damian@conway.org)\n",
            "subsections": []
        },
        "MAINTENANCE": {
            "content": "This package is maintained by Abigail (*regexp-common@abigail.be*).\n",
            "subsections": []
        },
        "BUGS AND IRRITATIONS": {
            "content": "Bound to be plenty.\n\nFor a start, there are many common regexes missing. Send them in to *regexp-common@abigail.be*.\n\nLICENSE and COPYRIGHT\nThis software is Copyright (c) 2001 - 2017, Damian Conway and Abigail.\n\nThis module is free software, and maybe used under any of the following licenses:\n\n1) The Perl Artistic License.     See the file COPYRIGHT.AL.\n2) The Perl Artistic License 2.0. See the file COPYRIGHT.AL2.\n3) The BSD License.               See the file COPYRIGHT.BSD.\n4) The MIT License.               See the file COPYRIGHT.MIT.\n",
            "subsections": []
        }
    },
    "summary": "Regexp::Common::URI -- provide patterns for URIs.",
    "flags": [],
    "examples": [],
    "see_also": []
}