Mercurial > vim
diff src/testdir/test44.in @ 19:a81bc802c17c v7.0011
updated for version 7.0011
author | vimboss |
---|---|
date | Mon, 19 Jul 2004 20:55:54 +0000 |
parents | 3fc0f57ecb91 |
children | 8ff7fd162d3c |
line wrap: on
line diff
--- a/src/testdir/test44.in +++ b/src/testdir/test44.in @@ -1,4 +1,5 @@ Tests for regexp with multi-byte encoding and various magic settings. +Test matchstr() with a count and multi-byte chars. STARTTEST :so mbyte.vim @@ -21,6 +22,12 @@ x:" Now search for multi-byte with compo x:" find word by change of word class /ち\<カヨ\>は x:?^1?,$w! test.out +:e! test.out +G:put =matchstr(\"אבגד\", \".\", 0, 2) " ב +:put =matchstr(\"אבגד\", \"..\", 0, 2) " בג +:put =matchstr(\"אבגד\", \".\", 0, 0) " א +:put =matchstr(\"אבגד\", \".\", 4, -1) " ג +:w! :qa! ENDTEST