view src/testdir/test_search_mbyte.in @ 8570:52b13e25b21d

commit https://github.com/vim/vim/commit/8067a64852d6d134b493c5674e404225ed4bbe7d Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 15 17:52:10 2016 +0100 Add missing test file.
author Christian Brabandt <cb@256bit.org>
date Tue, 15 Mar 2016 18:00:14 +0100
parents 5f9aae6928bc
children
line wrap: on
line source

Test for search('multi-byte char', 'bce')

STARTTEST
:source small.vim
:source mbyte.vim
:set encoding=utf-8
:/^Test bce:/+1
:$put =search('A', 'bce', line('.'))
:1;/^Results:/,$wq! test.out
ENDTEST

Results:

Test bce: