Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

regexp::common::cc(3) [mojave man page]

Regexp::Common::CC(3)					User Contributed Perl Documentation				     Regexp::Common::CC(3)

NAME
Regexp::Common::CC -- provide patterns for credit card numbers. SYNOPSIS
use Regexp::Common qw /CC/; while (<>) { /^$RE{CC}{Mastercard}$/ and print "Mastercard card number "; } DESCRIPTION
Please consult the manual of Regexp::Common for a general description of the works of this interface. Do not use this module directly, but load it via Regexp::Common. 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. SEE ALSO
Regexp::Common for a general description of how to use this interface. <http://www.beachnet.com/~hstiles/cardtype.html> Credit Card Validation - Check Digits <http://euro.ecom.cmu.edu/resources/elibrary/everycc.htm> Everything you ever wanted to know about CC's <http://www.webopedia.com/TERM/L/Luhn_formula.html> Luhn formula AUTHORS
Damian Conway (damian@conway.org) and Abigail (regexp-common@abigail.be). MAINTAINANCE
This package is maintained by Abigail (regexp-common@abigail.be). BUGS AND IRRITATIONS
Bound to be plenty. Send them in to regexp-common@abigail.be. LICENSE and COPYRIGHT This software is Copyright (c) 2001 - 2009, Damian Conway and Abigail. This module is free software, and maybe 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 Licence. See the file COPYRIGHT.BSD. 4) The MIT Licence. See the file COPYRIGHT.MIT. perl v5.18.2 2013-03-08 Regexp::Common::CC(3)

Check Out this Related Man Page

Regexp::Common::whitespace(3)				User Contributed Perl Documentation			     Regexp::Common::whitespace(3)

NAME
Regexp::Common::whitespace -- provides a regex for leading or trailing whitescape SYNOPSIS
use Regexp::Common qw /whitespace/; while (<>) { s/$RE{ws}{crop}//g; # Delete surrounding whitespace } DESCRIPTION
Please consult the manual of Regexp::Common for a general description of the works of this interface. Do not use this module directly, but load it via Regexp::Common. $RE{ws}{crop} Returns a pattern that identifies leading or trailing whitespace. For example: $str =~ s/$RE{ws}{crop}//g; # Delete surrounding whitespace The call: $RE{ws}{crop}->subs($str); is optimized (but probably still slower than doing the s///g explicitly). This pattern does not capture under "-keep". SEE ALSO
Regexp::Common for a general description of how to use this interface. AUTHOR
Damian Conway (damian@conway.org) MAINTAINANCE
This package is maintained by Abigail (regexp-common@abigail.be). BUGS AND IRRITATIONS
Bound to be plenty. For a start, there are many common regexes missing. Send them in to regexp-common@abigail.be. LICENSE and COPYRIGHT This software is Copyright (c) 2001 - 2009, Damian Conway and Abigail. This module is free software, and maybe 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 Licence. See the file COPYRIGHT.BSD. 4) The MIT Licence. See the file COPYRIGHT.MIT. perl v5.18.2 2013-03-08 Regexp::Common::whitespace(3)
Man Page

8 More Discussions You Might Find Interesting

1. Programming

printing euro

how do you print a euro using ewan in c? I just need to add a line to the end of a program to enable it to print a euro. Thanks. (2 Replies)
Discussion started by: teabagger
2 Replies

2. News, Links, Events and Announcements

OpenSolaris.org now “open” for business

Visit: http://www.opensolaris.org/ (2 Replies)
Discussion started by: Neo
2 Replies

3. UNIX for Dummies Questions & Answers

Listing out three fields of data

How would I find three different fields in a data file such as first name, last name, credit card number in a particular file? Thanks in advance for your help (3 Replies)
Discussion started by: damion
3 Replies

4. What is on Your Mind?

BT Internet con - a warning

A warning... I used to be a BT Broadband customer, but changed to Sky in February. BT withdrew the service with the cutover and that was that. But I've just checked my credit card statements, and they've billed me for the service again for the past two months! (2 Replies)
Discussion started by: prowla
2 Replies

5. Shell Programming and Scripting

Perl - How to search a text file with multiple patterns?

Good day, great gurus, I'm new to Perl, and programming in general. I'm trying to retrieve a column of data from my text file which spans a non-specific number of lines. So I did a regexp that will pick out the columns. However,my pattern would vary. I tried using a foreach loop unsuccessfully.... (2 Replies)
Discussion started by: Sp3ck
2 Replies

6. Shell Programming and Scripting

Awk Assistance

Hello A friend of mine posted this on another site that I follow. It is to advanced for me to figure out. If solved I will give credit where credit is due: NOTE: Does not have to be AWK. Any Language will work, Hi. I need a little assistant to write an awk script on linux that reads a file... (12 Replies)
Discussion started by: abacus
12 Replies

7. Shell Programming and Scripting

How to Conf. SSH on SCO 5.0.6

Hi: I have this server running SCO 5.0.6 with Counter Point Point of Sales, I did an upgrade to the CPoint software to be able to process credit card and debit card transactions, need to install Pin Pads in the work stations that are in remote location, and can't make the pin pad to work. I'm... (2 Replies)
Discussion started by: Ccarballo
2 Replies

8. Post Here to Contact Site Administrators and Moderators

Bits Club link on main page

Hi, I noticed that the Bit Club is no longer accessible from the main page. It used to be in the Members Only Forum (I think, can't really remember.) Was this intentional? Regards, Ni2 (3 Replies)
Discussion started by: ni2
3 Replies