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

Fixes bug #1290505.
3 files changed