in reply to Re^3: 'grouping' substrings?
in thread 'grouping' substrings?

[ ... ] means "Construct an array with '...' as content, and return a reference to it." This is documented in perlref.

$-[0] and $+[0] are elements of the special arrays @- and @+. Refer to perlvar for more information.