[python] Is it worth using Python's re.compile?