Added groups to the matches printout. Added a regex groups class.