Re: Struggling with a regex

2008-08-04 Thread John W. Krahn
Tom Yarrish wrote: Hey all, Hello, I'm trying to pull some machine names out of a CSV file, and I'm using the Pattern Test Program from Learning Perl 4th ed, but I don't think I have the logic right. Here's a sample line from the CSV file: TAP0SMITHJ | smithj (192.168.1.1),DOMAIN | Profe

Re: Struggling with a regex

2008-08-04 Thread Mr. Shawn H. Corey
On Mon, 2008-08-04 at 16:28 -0500, Tom Yarrish wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hey all, > I'm trying to pull some machine names out of a CSV file, and I'm using > the Pattern Test Program from Learning Perl 4th ed, but I don't think > I have the logic right. Here'

Struggling with a regex

2008-08-04 Thread Tom Yarrish
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey all, I'm trying to pull some machine names out of a CSV file, and I'm using the Pattern Test Program from Learning Perl 4th ed, but I don't think I have the logic right. Here's a sample line from the CSV file: TAP0SMITHJ | smithj (192.168.1