def _pr_compile(regex, cleanup=None):
 return (_re_compile(regex), cleanup)

def _pr_compile ( regex , cleanup = None ) : return ( _re_compile ( regex ) , cleanup )
prepare a 2-tuple of compiled regex and callable .