ENH: Avoid extra regex search in DatePatternRegex