aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2026-08-15 08:26:57 -0400
committerGitHub <noreply@github.com>2026-08-15 08:26:57 -0400
commitaef9356e341ed0df10dcbf48cff2c9efb9f0dcd2 (patch)
tree99f7f77e047b508fa3dea8cc35046e79166860b5 /scripts
parenta458bfb595181673bbf2f9f12f396dc9b9202638 (diff)
downloadrneovim-aef9356e341ed0df10dcbf48cff2c9efb9f0dcd2.tar.gz
rneovim-aef9356e341ed0df10dcbf48cff2c9efb9f0dcd2.tar.bz2
rneovim-aef9356e341ed0df10dcbf48cff2c9efb9f0dcd2.zip
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.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vim-patch.sh4
1 files 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\) .\+}' |