consolidate regexes for easier mantainence