Return a compiled re object for the format string.
(self, format)
| 489 | return format |
| 490 | |
| 491 | def compile(self, format): |
| 492 | """Return a compiled re object for the format string.""" |
| 493 | return re_compile(self.pattern(format), IGNORECASE) |
| 494 | |
| 495 | _cache_lock = _thread_allocate_lock() |
| 496 | # DO NOT modify _TimeRE_cache or _regex_cache without acquiring the cache lock |