Re: regex patern matching script

2009-08-30 Thread Uri Guttman
> "TB" == Tim Bowden writes: TB> On Mon, 2009-08-31 at 01:18 -0400, Uri Guttman wrote: >> do you know you can also get all the $1 values if you put the regex into >> list context? you can assign them all to an array or a list of scalars, >> etc. TB> Interesting. *scratch head* Ma

Re: regex patern matching script

2009-08-30 Thread Tim Bowden
On Mon, 2009-08-31 at 01:18 -0400, Uri Guttman wrote: > > "TB" == Tim Bowden writes: > > TB> On Sun, 2009-08-30 at 21:53 -0700, John W. Krahn wrote: > >> Tim Bowden wrote: > >> > I'm trying to extend (again) the short regex checking script given in > >> > Learning Perl (Absolutely fab

Re: regex patern matching script

2009-08-30 Thread Uri Guttman
> "TB" == Tim Bowden writes: TB> On Sun, 2009-08-30 at 21:53 -0700, John W. Krahn wrote: >> Tim Bowden wrote: >> > I'm trying to extend (again) the short regex checking script given in >> > Learning Perl (Absolutely fabulous book btw! Highly recommend it to >> > anyone trying to lea

Re: regex patern matching script

2009-08-30 Thread Tim Bowden
On Sun, 2009-08-30 at 21:53 -0700, John W. Krahn wrote: > Tim Bowden wrote: > > I'm trying to extend (again) the short regex checking script given in > > Learning Perl (Absolutely fabulous book btw! Highly recommend it to > > anyone trying to learn Perl). I'd like to cycle through the memory > > v

Re: regex patern matching script

2009-08-30 Thread John W. Krahn
Tim Bowden wrote: I'm trying to extend (again) the short regex checking script given in Learning Perl (Absolutely fabulous book btw! Highly recommend it to anyone trying to learn Perl). I'd like to cycle through the memory variables printing those as well as $`, $& and $' as given in the origina