refinditer (pattern,string,flags=0)的作用是找到字符串,将其作为一个迭代器返回 import re it = re.finditer(r'\d+','as24jjl453lj6l786l8') for match in it: ...
確定! 回上一頁