fix regex for date format