Home
Sign Up
Sign In
V2EX
›
问与答
正则表达式 RE2 不支持(?!expr),请教大家如何实现^(?!(aaa|bbb))?
gaozizhong
·
Dec 3, 2022
· 1795 views
This topic created in 1365 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
·
Privacy
·
Solana
·
1181 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 21ms ·
UTC 17:47
·
PVG 01:47
·
LAX 10:47
·
JFK 13:47
♥ Do have faith in what you're doing.
❯