python 正则表达式

来源:互联网 发布:金芒网络电玩城 编辑:程序博客网 时间:2024/04/30 15:23
#         pattern = re.compile(r"(?<=id=).+?(?=&)")#         matcher = re.search(pattern,response.url)#         if matcher:#                 saveName = str(matcher.group())
0 0
原创粉丝点击