'abcdef' =~ /b(.)(.)./ and print "end of entire match ", $+[0], " end of first group ",$+[1], " end of second group ", $+[2], "\n";