view src/testdir/test_search_mbyte.in @ 6913:5f9aae6928bc

Add files missing from patch 7.4.771.
author Bram Moolenaar <bram@vim.org>
date Fri, 10 Jul 2015 18:23:59 +0200
parents
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: