Yeah, I wouldn't want to do the cache on our own.

@nedbat tells me that python simply flushes the regex cache when it fills up. But honestly, I don't think this matters that much, so yes, let's go with just `re.match(pattern, string)`