in reply to
storing string matched by regular expression
See perldoc
perlre
. Specifically, read about $1 and \1.
Comment on
Re: storing string matched by regular expression
In Section
Seekers of Perl Wisdom