Regexp::Common::CC(3)

πŸ’³ NAME πŸ’³

Regexp::Common::CC β€” provide patterns for credit card numbers. Fr fr, that's the whole name vibe: it's the credit-card-pattern corner of the Regexp::Common universe πŸ’–

✨ SYNOPSIS ✨

Okay bestie, here's the group-chat demo:

    use Regexp::Common qw /CC/;

    while (<>) {
        /^$RE{CC}{Mastercard}$/   and  print "Mastercard card number\n";
    }

🌸 DESCRIPTION 🌸

Please consult the manual of Regexp::Common for a general description of the works of this interface. It's giving "the main character manual has the full lore" ✨

Do not use this module directly, but load it via Regexp::Common. That's the rule, no cap.

This module offers patterns for credit card numbers of several major credit card types. Currently, the supported cards are: Mastercard, Amex, Diners Club, and Discover. Slay, those are the four named in the source. πŸ’…

πŸ” SEE ALSO πŸ”

πŸ‘‘ AUTHORS πŸ‘‘

Damian Conway (damian@conway.org) and Abigail (regexp-common@abigail.freedom.nl). Iconic duo, periodt πŸ’…

πŸ› οΈ MAINTENANCE πŸ› οΈ

This package is maintained by Abigail (regexp-common@abigail.freedom.nl). She's holding the keys, iykyk.

πŸ’€ BUGS AND IRRITATIONS πŸ’€

Bound to be plenty. Send them in to regexp-common@abigail.freedom.nl. Not me saying "plenty" β€” that's literally the manual, bestie 😭

This software is Copyright (c) 2001 - 2024, Damian Conway and Abigail.

This module is free software, and may be used under any of the following licenses:

  1. The Perl Artistic License. See the file COPYRIGHT.AL.
  2. The Perl Artistic License 2.0. See the file COPYRIGHT.AL2.
  3. The BSD License. See the file COPYRIGHT.BSD.
  4. The MIT License. See the file COPYRIGHT.MIT.

Source/version vibe check: perl v5.42.0, dated 2024-08-09, and this is the Regexp::Common::CC(3) page. Byeee, go match those card numbers responsibly πŸ«ΆπŸ’–

πŸ“¦ where this page comes from