摘要: In [22]: m = re.search('(to)mo(rr)ow','I will see you tomorrow') In [23]: m.groups() Out[23]: ('to', 'rr') In [33]: m.group(1) Out[33]: 'to' In [34]: 阅读全文
posted @ 2017-08-23 16:32 大漠之烟 阅读(309) 评论(0) 推荐(0)