by associating a named capture to an capture index. The word tie implies that this is done somewhere.
$VAR1 = { 'foo' => [ 'b', # $1 'd' # $3 ], 'bar' => [ 'c', # $2 'ef' # $4 ] };
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In reply to Re^2: [RE] match positions of named captures?
by LanX
in thread [RE] match positions of named captures?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |