2023年4月14日
摘要: re.findall():函数返回包含所有匹配项的列表。返回string中所有与pattern相匹配的全部字串,返回形式为数组。 示例代码1:【打印所有的匹配项】 import re s = "Long live the people's Republic of China" ret = re.fi 阅读全文
posted @ 2023-04-14 15:00 aha_baby 阅读(154) 评论(0) 推荐(0) 编辑