M₄像这样的数字下标怎么用正则表达式匹配上答:findall(string[, pos[, endpos]]) | re.findall(pattern, string[, flags]): 搜索string,以列表形式返回全部能匹配的子串。 1234567 import re p = re.compile(r'\d+')print p.findall('one1two2three3four4') ### output ### ['1', '2', '3', '4'] finditer(string[, pos[, endpo...