in reply to Best way to extract RE backreferences

Least amount of code? As in "Perl golf"? Try:
@x="abcdefg"=~/[bcd]/g

Abigail