ss='北京奇谈文化有限公司'print(re.findall('(.*?有限公司){5,20}',ss)[0])Traceback (most recent call last): File "<input>", line 1, in <module>IndexError: list index out of rangeprint(re.findall('(.*?有限公司){5,20}',ss)[0])Traceback (most recent call last): File "<input>", line ...