Fixed regex parsing the date header (allowing multiple brackets)