def finditer(pattern, string, flags=0):
 return _compile(pattern, flags).finditer(string)

def finditer ( pattern , string , flags = 0 ) : return _compile ( pattern , flags ) . finditer ( string )
return an iterator over all non-overlapping matches in the string .