in reply to Best way to extract RE backreferences
If a match is done in list context it returns a list of the backreference matches.my ($b, $c, $d) = ($str =~ /(b)(c)(d)/);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Best way to extract RE backreferences
by Fletch (Bishop) on Feb 05, 2003 at 19:51 UTC | |
by dragonchild (Archbishop) on Feb 05, 2003 at 21:11 UTC | |
by Aristotle (Chancellor) on Feb 06, 2003 at 12:33 UTC |