throw the regex results into a hash