Fix regex_python not returning value