Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block calls using regular expressions. #204

Merged
merged 4 commits into from Apr 14, 2024
Merged

Conversation

meowtochondria
Copy link
Contributor

@meowtochondria meowtochondria commented Dec 20, 2022

Resolves #106

Example regular expression to block all calls from area code 412: (\+1 ?)?412[0-9-]{7,9}
Number formats this regex would block (as i am not sure what format underlying system exposes, I wrote an all encompassing regex):

+14121112222
+1 4121112222
+1 412-111-2222
+1412-111-2222
4121112222
412-111-2222

View it online: https://regex101.com/r/divSFw/1

Also adds a header to main page and settings page so as to distinguish them. Navigation was quite confusing after minimizing the app and not realizing which page i am on... as all pages are settings/toggles in various categories. Just adding header in 2 places has helped a lot.

@x13a
Copy link
Owner

x13a commented Apr 14, 2024

Thank you very much for this @meowtochondria
Better later, than never.. Merging

@x13a x13a merged commit 324ce9b into x13a:master Apr 14, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request - Allow and Block specific area code
2 participants