comparison runtime/doc/usr_41.txt @ 22355:0491b9cafd44 v8.2.1726

patch 8.2.1726: fuzzy matching only works on strings Commit: https://github.com/vim/vim/commit/4f73b8e9cc83f647b34002554a8bdf9abec0a82f Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 22 20:33:50 2020 +0200 patch 8.2.1726: fuzzy matching only works on strings Problem: Fuzzy matching only works on strings. Solution: Support passing a dict. Add matchfuzzypos() to also get the match positions. (Yegappan Lakshmanan, closes #6947)
author Bram Moolenaar <Bram@vim.org>
date Tue, 22 Sep 2020 20:45:04 +0200
parents f22acf6472da
children 36fc73078bce
comparison
equal deleted inserted replaced
22354:19139cc50651 22355:0491b9cafd44
602 toupper() turn a string to uppercase 602 toupper() turn a string to uppercase
603 charclass() class of a character 603 charclass() class of a character
604 match() position where a pattern matches in a string 604 match() position where a pattern matches in a string
605 matchend() position where a pattern match ends in a string 605 matchend() position where a pattern match ends in a string
606 matchfuzzy() fuzzy matches a string in a list of strings 606 matchfuzzy() fuzzy matches a string in a list of strings
607 matchfuzzypos() fuzzy matches a string in a list of strings
607 matchstr() match of a pattern in a string 608 matchstr() match of a pattern in a string
608 matchstrpos() match and positions of a pattern in a string 609 matchstrpos() match and positions of a pattern in a string
609 matchlist() like matchstr() and also return submatches 610 matchlist() like matchstr() and also return submatches
610 stridx() first index of a short string in a long string 611 stridx() first index of a short string in a long string
611 strridx() last index of a short string in a long string 612 strridx() last index of a short string in a long string