how to get references from imbricated capturing parenthesis ?
- From: marin.jb@xxxxxxxxx (Marin)
- Date: Fri, 29 Jun 2007 08:33:34 -0700
Hi everyone!
I'm trying to get references from a simple regular exepression like
this :
"a40d7412" =~ /(([[:xdigit:]]{2})*)/;
print "$1: <$2><$3><$4><$5>\n";
This prints :
a40d7412: <12><><><>
How to get all references and not the last one in the second
parenthesis pair ?
I'm STFW for 2 hours :-(
Thanks in advance.
.
- Follow-Ups:
- Re: how to get references from imbricated capturing parenthesis ?
- From: Dr.Ruud
- Re: how to get references from imbricated capturing parenthesis ?
- From: Tom Phoenix
- Re: how to get references from imbricated capturing parenthesis ?
- Prev by Date: Re: CPU/Memory usage of a process on Windows machine
- Next by Date: Re: How can i make a perl program lauch another perl program that takes options
- Previous by thread: Test::Class fixture problem
- Next by thread: Re: how to get references from imbricated capturing parenthesis ?
- Index(es):