0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.2.1254: MS-Windows: regexp test may fail if 'iskeyword' set wrongly

Problem:    MS-Windows: regexp test may fail if 'iskeyword' set wrongly.
Solution:   Override the 'iskeyword' value. (Taro Muraoka, closes #6502)
This commit is contained in:
Bram Moolenaar
2020-07-20 21:21:30 +02:00
parent b146e01a7e
commit 470adb827f
2 changed files with 5 additions and 0 deletions

View File

@@ -32,6 +32,9 @@ func Test_equivalence_re2()
endfunc
func s:classes_test()
if has('win32')
set iskeyword=@,48-57,_,192-255
endif
set isprint=@,161-255
call assert_equal('Motörhead', matchstr('Motörhead', '[[:print:]]\+'))