{
    "mode": "perldoc",
    "parameter": "XML::RegExp",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ARegExp/json",
    "generated": "2026-06-13T21:28:21Z",
    "synopsis": "use XML::RegExp;\nif ($myname =~ /^$XML::RegExp::Name$/)\n{\n# $myname is a valid XML 'Name'\n}",
    "sections": {
        "NAME": {
            "content": "XML::RegExp - Regular expressions for XML tokens\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use XML::RegExp;\n\nif ($myname =~ /^$XML::RegExp::Name$/)\n{\n# $myname is a valid XML 'Name'\n}\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This package contains regular expressions for the following XML tokens: BaseChar, Ideographic,\nLetter, Digit, Extender, CombiningChar, NameChar, EntityRef, CharRef, Reference, Name, NmToken,\nand AttValue.\n\nThe definitions of these tokens were taken from the XML spec (Extensible Markup Language 1.0) at\n<http://www.w3.org/TR/REC-xml>.\n\nAlso contains the regular expressions for the following tokens from the XML Namespaces spec at\n<http://www.w3.org/TR/REC-xml-names>: NCNameChar, NCName, QName, Prefix and LocalPart.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Original Author is Enno Derksen <enno@att.com>\n\nPlease send bugs, comments and suggestions to T.J. Mather <tjmather@tjmather.com>\n",
            "subsections": []
        }
    },
    "summary": "XML::RegExp - Regular expressions for XML tokens",
    "flags": [],
    "examples": [],
    "see_also": []
}