Can probably put the timeRegex into util since it's used by both directives