comparison runtime/doc/eval.txt @ 13070:17720967656c v8.0.1410

patch 8.0.1410: hang when using count() with an empty string commit https://github.com/vim/vim/commit/338e47fdfdf0d918dae50a5cbf0cf4f7be45b4f0 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 19 11:55:26 2017 +0100 patch 8.0.1410: hang when using count() with an empty string Problem: Hang when using count() with an empty string. Solution: Return zero for an empty string. (Dominique Pelle, closes https://github.com/vim/vim/issues/2465)
author Christian Brabandt <cb@256bit.org>
date Tue, 19 Dec 2017 12:00:05 +0100
parents 6479dadcf214
children aaead5b4d77d
comparison
equal deleted inserted replaced
13069:5dcf876e6c69 13070:17720967656c
1 *eval.txt* For Vim version 8.0. Last change: 2017 Dec 16 1 *eval.txt* For Vim version 8.0. Last change: 2017 Dec 19
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
3336 {start} can only be used with a |List|. 3336 {start} can only be used with a |List|.
3337 3337
3338 When {ic} is given and it's |TRUE| then case is ignored. 3338 When {ic} is given and it's |TRUE| then case is ignored.
3339 3339
3340 When {comp} is a string then the number of not overlapping 3340 When {comp} is a string then the number of not overlapping
3341 occurrences of {expr} is returned. 3341 occurrences of {expr} is returned. Zero is returned when
3342 3342 {expr} is an empty string.
3343 3343
3344 *cscope_connection()* 3344 *cscope_connection()*
3345 cscope_connection([{num} , {dbpath} [, {prepend}]]) 3345 cscope_connection([{num} , {dbpath} [, {prepend}]])
3346 Checks for the existence of a |cscope| connection. If no 3346 Checks for the existence of a |cscope| connection. If no
3347 parameters are specified, then the function returns: 3347 parameters are specified, then the function returns: