Comments (1)
Some of the issues with complicated regex patterns as you can see in the example you pointed out are that there are going to be casualties AKA false positives and negatives. The goal with these types of extreme regex patterns is to have 95% of matches be what you would consider a success if you were made aware of the results and understood them all, and only 5% or fewer failures. That is a ratio that would make the regex pattern well worth its salt.
To solve this issue with the examples you gave you can for the moment simply create an exact whitelist for www.google.com and google.com and the issue will be resolved for those domains as they will be overridden.
And finally, to answer your main question about what is the overall purpose..... these are well-known google ad domains, and since google uses many different rotational domains that serve up metadata and other DNS information this helps make the blanket of coverage greater which hopefully will lead to an overall decrease in the number of ads Google is able to serve you when viewing youtube videos.
In the meantime, I am working on regex whitelist and other exact whitelists to coincide with these regex blacklists. Stay tuned.
from pihole-regex.
Related Issues (10)
- Please add description to *.list files in README.md HOT 1
- Blocking YouTube or Twitch Ads HOT 1
- Blacklist domain pass through as Whitelist HOT 2
- Pihole RegEx and Exact Lists: Script error HOT 4
- Whitelist Unavailable: 404 Not Found HOT 1
- Most of the regular expressions in this project don't work for pihole HOT 1
- Wrong regexes in youtube-regex-filters.txt HOT 3
- Error in documentation on the main page HOT 1
- Facebook HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pihole-regex.