From cbcaa2ee7a94d8570f55e04f6fed93c04d3d6a30 Mon Sep 17 00:00:00 2001 From: Alex Stanev Date: Sun, 8 Apr 2018 11:05:02 +0300 Subject: [PATCH] Handle https protocol --- misc/create_gz.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/create_gz.sh b/misc/create_gz.sh index 2d73ca6..1b64dd1 100755 --- a/misc/create_gz.sh +++ b/misc/create_gz.sh @@ -4,7 +4,7 @@ echo "Compress dictionaries(*.txt) in current dir and create inserts for dwpa" # get base URL URL="" -REGEX="http://[-A-Za-z0-9+/%~_!.]*/" +REGEX="https?://[-A-Za-z0-9+/%~_!.]*/" while [[ ! $URL =~ $REGEX ]] do read -p "Enter base URL for dict with trailing /: " URL