动态过滤器正则否定表达疑问
#4919
Replies: 2 comments 3 replies
-
可以随便找个正则测试的网站试试, 比如 https://regex101.com/ |
Beta Was this translation helpful? Give feedback.
3 replies
-
还是搞不懂怎么保留多个词语,有没有会的大佬救一下 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
对于123这个up,我希望仅保留包含 节奏榜、新卡 的相关视频和动态
目前是这样描写 /^((?!节奏榜|新卡).)*$/ up:123
结果仅过滤了一小部分动态,依旧有很多不相关动态保留,是这个表达式不准确吗?应该怎样修改才能达到预期效果呢
Beta Was this translation helpful? Give feedback.
All reactions