Is it necessary to put the regex into a group? Can we also use `regex=re.compile('^[0-9]{1,2}:[0-5][0-9]|[0-9]+$')`?