摘要: """ 匹配目标 """ # import re # content = 'Hello 123 4567 World_This is a Regex Demo' # result = re.match("^Hello\s(\d+)\sWorld$", content) # print(result.group(1)) """ 通用匹配 """ # import re # content = 'H... 阅读全文
posted @ 2019-02-27 21:17 那是个好男孩 阅读(133) 评论(0) 推荐(0) 编辑