python 找字符串中所有包含字符的下标 python 找字符串中所有包含字符的下标 import re[(i.start(), i.end()) for i in re.finditer(正则表达式, 字符串)]