摘要: 假设字符串“a= {};” 要截取包含花括号在内的内容 import re pattern= r= "= (.+?);" match_bet_list=eval(re.findall(pattern,match_bet_list,re.M)[0]) re.M表示在字符串每行中截取 https://b 阅读全文
posted @ 2022-08-21 14:40 FrostyForest 阅读(760) 评论(0) 推荐(0) 编辑