正则表达式惰性的使用

import re
for match in s.finditer(self.text)
     yield match.group()
原文地址:https://www.cnblogs.com/c-x-a/p/10698883.html