]> granicus.if.org Git - vim/commit
patch 8.1.0677: look-behind match may use the wrong line number v8.1.0677
authorBram Moolenaar <Bram@vim.org>
Tue, 1 Jan 2019 21:19:08 +0000 (22:19 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 1 Jan 2019 21:19:08 +0000 (22:19 +0100)
commit866f3558141aa68862aa2fedbb7747bf2365e838
tree600777ae956fddec3fce66c3b5e0b74e16c4cc20
parent5e53ac00a2a3ead7b52ef56c61ccce823186bd2f
patch 8.1.0677: look-behind match may use the wrong line number

Problem:    Look-behind match may use the wrong line number. (Dominique Pelle)
Solution:   Use the line number in regsave instead of the one in behind_pos,
            we may be looking at the previous line. (closes #3749)
src/regexp.c
src/version.c