From 89cb5e0f646970371359c70927bf3a0cdaf47f27 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 19 Jul 2004 20:55:54 +0000 Subject: updated for version 7.0011 --- src/testdir/test44.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/testdir/test44.in') diff --git a/src/testdir/test44.in b/src/testdir/test44.in index d90a962d3..2748e3d01 100644 --- 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 composing char 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 -- cgit v1.2.3