Revert "Simplified EscapeRegexp()"

This reverts commit 509cfd15f2.
This commit is contained in:
DL6ER 2016-12-03 00:32:37 +01:00
parent 509cfd15f2
commit 78cb43d0dc
1 changed files with 1 additions and 1 deletions

View File

@ -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(){