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.
This commit is contained in:
Jan Edmund Lazo
2026-08-15 08:26:57 -04:00
committed by GitHub
parent a458bfb595
commit aef9356e34

View File

@@ -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\) .\+}' |