Home
Sign Up
Sign In
V2EX
›
问与答
正则表达式 RE2 不支持(?!expr),请教大家如何实现^(?!(aaa|bbb))?
gaozizhong
·
Dec 3, 2022
· 1580 views
This topic created in 1281 days ago, the information mentioned may be changed or developed.
使用 RE2 筛选不以 aaa 或者 bbb 开头的内容
Supplement 1 ·
Dec 3, 2022
是^(?!(aaa|bbb)).*test ,Prometheus 里遇到的问题
已经解决了,分两次筛选就好了,~.*test 然后!~(aaa|bbb).*test
No Comments Yet
re2
BBB
aaa
expr
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
1010 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms ·
UTC 23:13
·
PVG 07:13
·
LAX 16:13
·
JFK 19:13
♥ Do have faith in what you're doing.
❯