Clear out the regex cache when the TimeRE cache is invalidated by a locale
change.

Fixes bug #1290505.
diff --git a/Misc/NEWS b/Misc/NEWS
index f63d711..fca9b55 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -217,6 +217,8 @@
 Library
 -------
 
+- Bug #1290505: Fix clearing the regex cache for time.strptime().
+
 - Bug #1167128: Fix size of a symlink in a tarfile to be 0.
 
 - Patch #810023: Fix off-by-one bug in urllib.urlretrieve reporthook