V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  VTEX9527  ›  全部回复第 5 页 / 共 6 页
回复总数  118
1  2  3  4  5  6  
换号成本太大。建议还是转无忧套餐吧,一个月 5 块钱。
2021 年 7 月 1 日
回复了 SmartKeyerror 创建的主题 推广 盖楼抽奖 | 感谢 V 站老哥们的认同和鼓励
分母+1
或者试试 AdGuard ?
确认自己没说错,对自己表示认可
Debian
2021 年 4 月 10 日
回复了 supermoonie 创建的主题 郑州 郑州码农买房上车群 老乡 该回家了
求拉,感谢 vx:ZmxzcHNj
2021 年 4 月 9 日
回复了 guichina 创建的主题 分享创造 数字游民指南 1.0 正式上线,送一年 VIP
[email protected] ,感谢!
2021 年 3 月 9 日
回复了 maloneleo88 创建的主题 Python 正则提取又蒙圈了!
@maloneleo88
楼上正则都是没有问题的,主要应该是 re 模块的实现不一样。python 中 re.findall()是匹配分组的,您要字符串中第一个数组。我暂时能想到的是换一个写法。
str_regex = r'\[18(,\d+){9}\]'
list_value = re.finditer(str_regex, input, flags=re.I)
for match in list_value:
first_array_str = match.group()
print(first_array_str)

然后,自行处理 first_array_str
2021 年 3 月 9 日
回复了 maloneleo88 创建的主题 Python 正则提取又蒙圈了!
r'\[18(,\d+){9}\],'
挺简洁的,建议增加导航树做内容分类
1  2  3  4  5  6  
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1194 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 40ms · UTC 17:51 · PVG 01:51 · LAX 10:51 · JFK 13:51
♥ Do have faith in what you're doing.