apsun / NekoSMS

A pattern-based text message blocker for Android.
GNU General Public License v3.0
417 stars 44 forks source link

使用白名单拦截功能失效 #95

Closed 262379 closed 1 year ago

262379 commented 1 year ago

Write your issue description here.


If you are submitting a bug report and do not include the following info, your issue will be ignored!

Replace this line with your logs. Do not remove the backticks.

Thank you for helping us help you help us all.

262379 commented 1 year ago

使用的是白名单里的文本匹配正则表达式

apsun commented 1 year ago

What is your pattern?

262379 commented 1 year ago

backup-2023-06-01.nsbak.zip 我不知道你所说的模式指的是什么 只有把白名单里的规则全删掉才会拦截 这个是我用的规则

apsun commented 1 year ago

Your filter rules start with |. A rule of |x|y|z means, match nothing, or x, or y, or z. Every message contains nothing, so this will match every message. See https://regex101.com/r/ziTCSy/1 for example.

Just delete the | in front to fix this. |x|y|z -> x|y|z

262379 commented 1 year ago

好的已解决谢谢