I haven't used Pi-Hole in a little while as I have been experimenting with AdGuard Home. I have had a feature request or two from people whom have wanted to add individual domains to my regexp list, but I have been trying to keep it as broad as possbile to avoid enforcing my personalised wildcard blocking onto everyone.
There has been some chatter around first party trackers and needing to wildcard block those, which I may like to create a separate list for, but I don't really want to have to look back into writing scripts to check existing regexps, resolve conflicts, import etc all over again.
I haven't looked into Pi-Hole's development for some time so I apologise in advance if this feature is already present, but if not, would it be possible to look into allowing regexps to be loaded in from gravity?
I understand that there may be some concerns over how to determine what is and what is not valid regexps, but it seems to work quite well with AdGuard and this responsibility of this should lay with the list maintainer.
AdGuard Home determines anything between
/ to be regexps, e.g.
Could something similar be implemented to Pi-Hole? I would imagine that gravity may pull some duplicate entries (for example, people already using items from my list) - So there would need to be some process of checking for existing manually inputted regexps and either removing those or excluding the duplicates pulled down from gravity
It could be really beneficial to people too as if I make updates, changes or fixes to resolve conflicts, their regexps could be automatically update. Currently, one would have to manually update on a regular basis (if the list were to be updated frequently).