in re2.py [0:0]
def compile(pattern): "Compile a regular expression pattern, returning a pattern object." return _compile(pattern, error)