removes regex comparison of date string