in reply to Re: \g{-2} for inside (?{ ... })
in thread \g{-2} for inside (?{ ... })

Thankyou - your post means I no longer have an urge to make the same suggestion. :-)

That said, your solution doesn't work for me (using Perl 5.8) - would you consider changing the first line thus:

#use 5.010; # re features

--
.sig : File not found.