mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 18:53:56 +00:00
Don't forget to escape also the slash "/"
This commit is contained in:
parent
629ca970a1
commit
2061daa902
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ EOM
|
||||||
EscapeRegexp() {
|
EscapeRegexp() {
|
||||||
# This way we may safely insert an arbitrary
|
# This way we may safely insert an arbitrary
|
||||||
# string in our regular expressions
|
# string in our regular expressions
|
||||||
echo $* | sed "s/[]\\.|$(){}?+*^]/\\\\&/g"
|
echo $* | sed "s/[]\\.|$(){}?+*^]/\\\\&/g" | sed "s/\\//\\\\\//g"
|
||||||
}
|
}
|
||||||
|
|
||||||
HandleOther(){
|
HandleOther(){
|
||||||
|
|
Loading…
Reference in a new issue