1 Tests for regexp with multi-byte encoding and various magic settings.
2 Test matchstr() with a count and multi-byte chars.
6 :set nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo
18 x:" Now search for multi-byte without composing char
20 x:" Now search for multi-byte with composing char
22 x:" find word by change of word class
24 x:" Test \%u, [\u] and friends
28 x/[\U1234abcd\u1234\uabcd]
32 G:put =matchstr(\"אבגד\", \".\", 0, 2) " ב
33 :put =matchstr(\"אבגד\", \"..\", 0, 2) " בג
34 :put =matchstr(\"אבגד\", \".\", 0, 0) " א
35 :put =matchstr(\"אבגד\", \".\", 4, -1) " ג