Fixed regular expressions used to parse dates