{
    "mode": "perldoc",
    "parameter": "Regexp::Common::SEN",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Regexp%3A%3ACommon%3A%3ASEN/json",
    "generated": "2026-06-10T13:43:49Z",
    "synopsis": "use Regexp::Common qw /SEN/;\nwhile (<>) {\n/^$RE{SEN}{USA}{SSN}$/    and  print \"Social Security Number\\n\";\n}",
    "sections": {
        "NAME": {
            "content": "Regexp::Common::SEN -- provide regexes for Social-Economical Numbers.\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Regexp::Common qw /SEN/;\n\nwhile (<>) {\n/^$RE{SEN}{USA}{SSN}$/    and  print \"Social Security Number\\n\";\n}\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Please consult the manual of Regexp::Common for a general description of the works of this\ninterface.\n\nDo not use this module directly, but load it via *Regexp::Common*.\n\n$RE{SEN}{USA}{SSN}{-sep}\nReturns a pattern that matches an American Social Security Number (SSN). SSNs consist of three\ngroups of numbers, separated by a hyphen (\"-\"). This pattern only checks for a valid structure,\nthat is, it validates whether a number is valid SSN, was a valid SSN, or maybe a valid SSN in\nthe future. There are almost a billion possible SSNs, and about 400 million are in use, or have\nbeen in use.\n\nIf \"-sep=*P*\" is specified, the pattern *P* is used as the separator between the groups of\nnumbers.\n\nUnder \"-keep\" (see Regexp::Common):\n\n$1  captures the entire SSN.\n\n$2  captures the first group of digits (the area number).\n\n$3  captures the second group of digits (the group number).\n\n$4  captures the third group of digits (the serial number).\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Regexp::Common for a general description of how to use this interface.\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Damian Conway and Abigail.\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::SEN -- provide regexes for Social-Economical Numbers.",
    "flags": [],
    "examples": [],
    "see_also": []
}