Don't forget to escape also the slash "/"

pull/941/head
DL6ER 8 years ago
parent 629ca970a1
commit 2061daa902

@ -53,7 +53,7 @@ EOM
EscapeRegexp() {
# This way we may safely insert an arbitrary
# string in our regular expressions
echo $* | sed "s/[]\\.|$(){}?+*^]/\\\\&/g"
echo $* | sed "s/[]\\.|$(){}?+*^]/\\\\&/g" | sed "s/\\//\\\\\//g"
}
HandleOther(){

Loading…
Cancel
Save