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