From 5f8187b91ae4b80db3e59dd3f0761f2898441db8 Mon Sep 17 00:00:00 2001 From: Dmitry Netrebenko Date: Thu, 9 Jun 2016 16:38:35 +0300 Subject: [PATCH] Fixed bug #2 --- bash/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/common.sh b/bash/common.sh index f5e3f21..ab0b6b5 100755 --- a/bash/common.sh +++ b/bash/common.sh @@ -268,7 +268,7 @@ function list_files { if [[ ${files_count} -eq 0 ]]; then break; fi fi - local file_uris=$(echo "$SM_RESPONSE" | grep -oEi "$FILE_URI_REGEX" | cut -c12- | rev | cut -c3- | rev) + local file_uris=$(echo "$SM_RESPONSE" | grep -oPi "$FILE_URI_REGEX" | cut -c12- | rev | cut -c3- | rev) string_to_array "$file_uris" for file_uri in "${SM_ARRAY[@]}"; do file_uri=$(unescapeJson "$file_uri")