]> granicus.if.org Git - vim/commit
patch 9.0.1233: search() loops forever if "skip" is TRUE for all matches v9.0.1233
authorBram Moolenaar <Bram@vim.org>
Sun, 22 Jan 2023 20:14:26 +0000 (20:14 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 22 Jan 2023 20:14:26 +0000 (20:14 +0000)
commit3d79f0a4309995956bd8889940cca22f7a15881d
treeac4f9160853ae5d514d5cc737f44e301b88fb24d
parentd343c60df4b0adc6b1baac4d68a72a735ac21dc4
patch 9.0.1233: search() loops forever if "skip" is TRUE for all matches

Problem:    search() loops forever if "skip" is TRUE for all matches.
Solution:   Keep the position of the first match.
src/evalfunc.c
src/testdir/test_search.vim
src/version.c