fix bad date regex