From aef9356e341ed0df10dcbf48cff2c9efb9f0dcd2 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 15 Aug 2026 08:26:57 -0400 Subject: [PATCH] build(vim-patch): fix compiled,popup-window regexp for '|' #41326 git "-I" regex seem to be "extended". grep's default regex is "basic". Fix regexps for switch/case "runtime/doc/*.txt" based on the "*.h" switch/case. --- scripts/vim-patch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 1ba230d9d4..8558e29f93 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -934,8 +934,8 @@ is_na_patch() { '-I^=+$' \ '-I^popup_[_a-z]+\(' \ '-I\*\s+For Vim version [0-9]\.[0-9]\.\s+Last change: [0-9]+ [A-Z][a-z]+ [0-9]+' \ - '-I compiled \(with\|without\) .*(\|.*\|) feature\.$' \ - '-I|popup-windows|' \ + '-I compiled (with|without) .*\(\|.+\|\) feature\.$' \ + '-I\|popup-windows\|' \ '-I\spopup window\s' \ "$patch" -- "${file}" | grep -v -e '{.\+ \(available\|compiled\) \(with\|without\) .\+}' |