in reply to Re: Question on Regex grouping
in thread Question on Regex grouping
Thanks Anonyrnous Monk! Does this mean that, irrespective of the number of regexes I write within the IF statement, $3 would point to the 3rd group of the last regex? Out of curiosity,what do I have to do if I need to print the 5 digit number in the first regex as well? Please bear with my questions if at all they sound silly. I'm new to perl and I really want to learn! Thanks :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Question on Regex grouping
by Anonymous Monk on Dec 21, 2010 at 06:46 UTC | |
|
Re^3: Question on Regex grouping
by Anonyrnous Monk (Hermit) on Dec 21, 2010 at 06:49 UTC | |
by ajguitarmaniac (Sexton) on Dec 21, 2010 at 07:05 UTC | |
by Anonyrnous Monk (Hermit) on Dec 21, 2010 at 07:12 UTC | |
by ajguitarmaniac (Sexton) on Dec 21, 2010 at 07:40 UTC | |
by AnomalousMonk (Archbishop) on Dec 22, 2010 at 05:38 UTC |