mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 06:48:07 +00:00
Fix wildcard/regex usage formatting
Fix whitespace issue and missing backslashes in the regex example. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
parent
1844bf17a7
commit
96681887b8
@ -282,10 +282,10 @@ Some usage examples
|
|||||||
.br
|
.br
|
||||||
\fBpihole -b -d noads.example.com\fR Remove "noads.example.com" from blacklist
|
\fBpihole -b -d noads.example.com\fR Remove "noads.example.com" from blacklist
|
||||||
.br
|
.br
|
||||||
\fBpihole --wild example.com\fR Add example.com as a wildcard - would
|
\fBpihole --wild example.com\fR Add example.com as a wildcard - would
|
||||||
block all subdomains of example.com, including example.com itself.
|
block all subdomains of example.com, including example.com itself.
|
||||||
.br
|
.br
|
||||||
\fBpihole --regex "ad.*\.example\.com$"\fR Add "ad.*\.example\.com$" to the regex
|
\fBpihole --regex "ad.*\\.example\\.com$"\fR Add "ad.*\\.example\\.com$" to the regex
|
||||||
blacklist - would block all subdomains of example.com which start with "ad"
|
blacklist - would block all subdomains of example.com which start with "ad"
|
||||||
.br
|
.br
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user