prrt714 / SMS-Sieve

SMS Filter for Android
0 stars 1 forks source link

regex pattern not work #1

Open denizsoft opened 9 years ago

denizsoft commented 9 years ago

hi, i download apk file from googleplay and install it, i write five regex pattern ,and set it but not work for example

021[\d]+ or 98[\d]{1,8}

please check it

thank you

prrt714 commented 9 years ago

Have a nice day! I use this app as white list and have set up a few regular expressions (you can import them via the + (plus) button, just pasting the text):

excep(regex(+[0-9]+)); regex(.+)

I also tested just now that this pattern also works: excep(regex(S[\w]{1,6}))

I am not sure why you have problems. Can you please send me problematic settings? (just export them using the share icon, choose Email).

Best regards, Ararat 27.11.2014 11:32 пользователь "denizsoft" notifications@github.com написал:

hi, i download apk file from googleplay and install it, i write five regex pattern ,and set it but not work for example

021[\d]+ or 98[\d]{1,8}

please check it

thank you

— Reply to this email directly or view it on GitHub https://github.com/prrt714/SMS-Sieve/issues/1.

denizsoft commented 9 years ago

i think this regex patterns is blocked spam numbers , but this patterns for accept white list numbers. and the other numbers that is not in white list will be blocked.

do you mean this ?

prrt714 commented 9 years ago

Exception rules have higher priority. For example, if you have a rule to block SMS from 123456, and there is a rule that says to accept SMS from [0-9]+, the SMS will not be blocked. 28.11.2014 15:17 пользователь "denizsoft" notifications@github.com написал:

i think this regex patterns is blocked spam numbers , but this patterns for accept white list numbers. and the other numbers that is not in white list will be blocked.

do you mean this ?

— Reply to this email directly or view it on GitHub https://github.com/prrt714/SMS-Sieve/issues/1#issuecomment-64883482.

denizsoft commented 9 years ago

thank you , this is very perfect and powerfull tools for Sms.

prrt714 commented 9 years ago

Thank you for these suggestions and positiveness. I am not sure if and when I will try to implement the suggestions. In my opinion, the main advantage of the program is that it is lightweight, simple, and non-intrusive. Anyway, it is opensource.

Thank you, again. 29.11.2014 1:09 пользователь "denizsoft" notifications@github.com написал:

this is perfect , i am testing program , I will say you the result. please add this ability :

  • search the inbox and find the match with pattern and delete it from inbox
  • regular expression Tester for numbers
  • Enable | Disable with widget
  • in blocked numbers log : add reply message to blocked number
  • password for enter to program

thank you

— Reply to this email directly or view it on GitHub https://github.com/prrt714/SMS-Sieve/issues/1#issuecomment-64928654.