in reply to perl regex referencing
perlre explains this as
The bracketing construct ( ... ) creates capture buffers. To refer to +the digit'th buffer use \<digit> within the match. Outside the match +use "$" instead of "\".
|
---|
In Section
Seekers of Perl Wisdom