http://www.perlmonks.org?node_id=1011999


in reply to Re^3: regular expression (blah blah blah)
in thread regular expression

Although your suggestion makes the REGEX better, the primary problem is that $& contains the entire match, not the first subpattern ($1).