Python: Where to compile an RE?@AmirRachum In this particular case, you are probably right. But this isn't the first or last time I will have a design like this so its nice to get it right early, at least when that doesn't harm readability.