]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.2121: internal error when using \ze before \zs in a pattern v8.2.2121
authorBram Moolenaar <Bram@vim.org>
Wed, 9 Dec 2020 15:36:04 +0000 (16:36 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 9 Dec 2020 15:36:04 +0000 (16:36 +0100)
commita7a691cc142439e266f4ceb1f208bb952b57aa71
treeebe600566e203253e7f6f2502c3032c2608c32ec
parent730677a0dafe6f2e72888ef59f74f66f2d0a573e
patch 8.2.2121: internal error when using \ze before \zs in a pattern

Problem:    Internal error when using \ze before \zs in a pattern.
Solution:   Check the end is never before the start. (closes #7442)
src/regexp_bt.c
src/regexp_nfa.c
src/testdir/test_regexp_latin.vim
src/version.c