Mercurial > vim
view src/testdir/test_search_mbyte.in @ 12614:12f4408c7f69 v8.0.1185
patch 8.0.1185: Ruby library includes minor version number
commit https://github.com/vim/vim/commit/9202162c5c069c925b6b9bf84e546fbd362cdf46
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Oct 12 12:33:43 2017 +0200
patch 8.0.1185: Ruby library includes minor version number
Problem: Ruby library includes minor version number.
Solution: Only use the API version number. (Ben Boeckel, closes https://github.com/vim/vim/issues/2199)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 12 Oct 2017 12:45:07 +0200 |
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: A