{
    "mode": "perldoc",
    "parameter": "Regexp::Common::CC",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Regexp%3A%3ACommon%3A%3ACC/json",
    "generated": "2026-10-04T10:18:53Z",
    "synopsis": "use Regexp::Common qw /CC/;\nwhile (<>) {\n/^$RE{CC}{Mastercard}$/   and  print \"Mastercard card number\\n\";\n}",
    "sections": {
        "NAME": {
            "content": "Regexp::Common::CC -- provide patterns for credit card numbers.\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Regexp::Common qw /CC/;\n\nwhile (<>) {\n/^$RE{CC}{Mastercard}$/   and  print \"Mastercard card 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\nThis module offers patterns for credit card numbers of several major credit card types.\nCurrently, the supported cards are: *Mastercard*, *Amex*, *Diners Club*, and *Discover*.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Regexp::Common for a general description of how to use this interface.\n\n<http://www.beachnet.com/~hstiles/cardtype.html>\nCredit Card Validation - Check Digits\n\n<http://euro.ecom.cmu.edu/resources/elibrary/everycc.htm>\nEverything you ever wanted to know about CC's\n\n<http://www.webopedia.com/TERM/L/Luhnformula.html>\nLuhn formula\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Damian Conway (*damian@conway.org*) and Abigail (*regexp-common@abigail.be*).\n",
            "subsections": []
        },
        "MAINTENANCE": {
            "content": "This package is maintained by Abigail (*regexp-common@abigail.be*).\n",
            "subsections": []
        },
        "BUGS AND IRRITATIONS": {
            "content": "Bound to be plenty. 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::CC -- provide patterns for credit card numbers.",
    "flags": [],
    "examples": [],
    "see_also": []
}