From 44a284d71cd5ee1bc09a2ea354624bc532ca0aef Mon Sep 17 00:00:00 2001 From: James McCoy Date: Mon, 9 Jul 2018 13:55:18 -0400 Subject: vim-patch.sh: review_commit: Fix regex for vim version 067bb1e9f changed the commit format to include a brief description in the summary line of the commit. --- scripts/vim-patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index efe89e0534..4912b2160b 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -427,7 +427,7 @@ review_commit() { local nvim_patch nvim_patch="$(curl -Ssf "${nvim_patch_url}")" local vim_version - vim_version="$(head -n 4 <<< "${nvim_patch}" | sed -n 's/'"${git_patch_prefix}"'vim-patch:\([a-z0-9.]*\)$/\1/p')" + vim_version="$(head -n 4 <<< "${nvim_patch}" | sed -n 's/'"${git_patch_prefix}"'vim-patch:\([a-z0-9.]*\)\(:.*\)\{0,1\}$/\1/p')" echo if [[ -n "${vim_version}" ]]; then -- cgit