move the _get_build_regex function to utils
rename get_date to parse_date and move parse_bits to the utils module