figuring the regexes out