Minor UI bug
Closed this issue ยท 4 comments
Hi;
First of all, thank you very much for this excellent application, which is very practical.
There seems to be a small problem displaying the help bubble, when you click on the "Number Rules" help in the "Regex Settings" tab the bubble is truncated, here's a small video showing the problem:
https://drive.proton.me/urls/YBGHV6VM20#MUAg86c_NfL4
Sorry for this unrelated question, but how can I have a single list of all the phone numbers I want to block? (in Regex Settings).
For exemple, to have a list including:
^$
0123.*
0456.*
0789.*
Because I can't figure out how to do it,
thank you very much and my apologies for the disruption.
Because I can't figure out how to do it
If you'd like to use '0123' at the beginning of the number, write this:
123.*
456.*
If you'd like to use '0123' at the middle of the number write this:
.*0123.*
.*0456.*
Read help about first 0, 00, +
In you video I see flag "Raw Number". This case isn't "Raw Numbers", Use default flags.
Ah, thanks. I can reproduce this UI issue on Android 15 emulator, it seems to be Android 15 specific, I'll fix it later, here's the rest of the tooltip:
To combine multiple patterns into a single regex, you can use the alternation operator (a|b|c|....)
, it will match any of the a,b,c,etc.
(^$|0123.*|0456.*|0789.*)
.
As mentioned by @Umotas, you need the "Raw Number" for the domestic leading 0. It's in the flag icon:
And there is a bug that the "Save" button remains disabled when the regex text is actually valid, a quick workaround is manually input the text instead of copy/paste. It has been fixed in this action build: https://github.com/aj3423/SpamBlocker/actions/runs/11736510661
Ah, thanks. I can reproduce this UI issue on Android 15 emulator, it seems to be Android 15 specific, I'll fix it later, here's the rest of the tooltip:
Indeed, my device is running Android 15, more precisely GrapheneOS Build 2024110400 (a secure aosp-based ROM for Google Pixels); my apologies, I should have mentioned it.
It's not a major bug, thanks for taking it into account.
To combine multiple patterns into a single regex, you can use the alternation operator
(a|b|c|....)
, it will match any of the a,b,c,etc.
(^$|0123.*|0456.*|0789.*)
.
<3
Thank you very, very much for this help, in fact I was able to add all the advertising callsigns in a single rule, it's much easier to read this way, thank you again.(Would
it be possible to add to the existing help a sample list, as you have clearly presented to me?)
As mentioned by @Umotas, you need the "Raw Number" for the domestic leading 0. It's in the flag icon:
Yes, I understand, thank you both for that clarification, it helped me.
And there is a bug that the "Save" button remains disabled when the regex text is actually valid, a quick workaround is manually input the text instead of copy/paste. It has been fixed in this action build: https://github.com/aj3423/SpamBlocker/actions/runs/11736510661
Thanks for the warning.
And thank you both for this clear, prompt and comprehensive help.