I found an error in your documentation. The bottom line says:
The example blacklists google.com. Replacing black with one of: white, black, wild, regex, or audit will change the list to be added to. To remove a domain form a list, replace add() with sub()
This is not correct. If you would like to add a domain as a wild card, then thy Python entry should be:
pihole.add("regex_black", "(\.|^)google\.com$")
Actually adding an underscore between regex and black. Please add this to the documentation. Thanks!
Dear Ewpratten,
I found an error in your documentation. The bottom line says:
The example blacklists google.com. Replacing black with one of: white, black, wild, regex, or audit will change the list to be added to. To remove a domain form a list, replace add() with sub()
This is not correct. If you would like to add a domain as a wild card, then thy Python entry should be:
pihole.add("regex_black", "(\.|^)google\.com$")
Actually adding an underscore between regex and black. Please add this to the documentation. Thanks!