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