Replaced hyphens with slashes in date regex.