I don't know why it wasn't an issue before, but a better fix might be to just compile this RE as a module-level global with `re.compile` (which *does* accept flags in 2.6) and then use `FUTURE_IMPORT_RE.sub` or what have you.