def str_findall(arr, pat, flags=0):
 regex = re.compile(pat, flags=flags)
 return _na_map(regex.findall, arr)

def str_findall ( arr , pat , flags = 0 ) : regex = re . compile ( pat , flags = flags ) return _na_map ( regex . findall , arr )
find all occurrences of pattern or regular expression in the series/index .