]> granicus.if.org Git - vim/commit
patch 9.0.0396: :findrepl does not escape '&' and '~' properly v9.0.0396
authormatveyt <matthewtarasov@yandex.ru>
Tue, 6 Sep 2022 16:00:15 +0000 (17:00 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 6 Sep 2022 16:00:15 +0000 (17:00 +0100)
commit2834ebdee473c838e50e60d0aa160f0e62fc8ef9
tree3c5d2b3a0e3f0c261d5569e5eb96eb5eeec88349
parent635bb4908577738c5658a95672259b8537d97d49
patch 9.0.0396: :findrepl does not escape '&' and '~' properly

Problem:    :findrepl does not escape '&' and '~' properly.
Solution:   Escape depending on the value of 'magic'. (closes #11067)
src/gui.c
src/testdir/test_gui.vim
src/version.c