http://qs321.pair.com?node_id=639581


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 "\".