Home
Sign Up
Sign In
›
正则表达式可视化调试 regex101.com
V2EX
›
正则表达式
我请教一个 Python 正则表达式问题
neowong2005
·
Aug 10, 2021
via Android · 2266 views
This topic created in 1913 days ago, the information mentioned may be changed or developed.
我想把 proto=1 的行取出来,其他 proto=1 开头的不要,怎么用正则实现,Python,谢谢
proto
Python
请教
开头
3 replies
•
2021-08-11 11:42:06 +08:00
killva4624
Aug 10, 2021
1
1
^(?!proto=1).*proto=1.*
ruanimal
Aug 10, 2021
2
^proto\=1$
neowong2005
OP
Aug 11, 2021 via Android
3
谢谢两位
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
1439 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms ·
UTC 18:25
·
PVG 02:25
·
LAX 10:25
·
JFK 13:25
♥ Do have faith in what you're doing.
❯