From 78cb43d0dc014dcf6d470f81bde188e795807491 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sat, 3 Dec 2016 00:32:37 +0100 Subject: [PATCH] Revert "Simplified EscapeRegexp()" This reverts commit 509cfd15f27f07f4e6d99fd431b821024be86280. --- advanced/Scripts/list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/Scripts/list.sh b/advanced/Scripts/list.sh index ca038ef3..37a17a0f 100755 --- a/advanced/Scripts/list.sh +++ b/advanced/Scripts/list.sh @@ -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(){