|
1 |
| -*usr_41.txt* For Vim version 9.1. Last change: 2023 May 06 |
| 1 | +*usr_41.txt* For Vim version 9.1. Last change: 2024 Jan 13 |
2 | 2 |
|
3 | 3 | VIM USER MANUAL - by Bram Moolenaar
|
4 | 4 |
|
@@ -743,10 +743,13 @@ String manipulation: *string-functions*
|
743 | 743 | toupper() turn a string to uppercase
|
744 | 744 | charclass() class of a character
|
745 | 745 | match() position where a pattern matches in a string
|
| 746 | + matchbufline() all the matches of a pattern in a buffer |
746 | 747 | matchend() position where a pattern match ends in a string
|
747 | 748 | matchfuzzy() fuzzy matches a string in a list of strings
|
748 | 749 | matchfuzzypos() fuzzy matches a string in a list of strings
|
749 | 750 | matchstr() match of a pattern in a string
|
| 751 | + matchstrlist() all the matches of a pattern in a List of |
| 752 | + strings |
750 | 753 | matchstrpos() match and positions of a pattern in a string
|
751 | 754 | matchlist() like matchstr() and also return submatches
|
752 | 755 | stridx() first index of a short string in a long string
|
@@ -795,6 +798,7 @@ List manipulation: *list-functions*
|
795 | 798 | filter() remove selected items from a List
|
796 | 799 | map() change each List item
|
797 | 800 | mapnew() make a new List with changed items
|
| 801 | + foreach() apply function to List items |
798 | 802 | reduce() reduce a List to a value
|
799 | 803 | slice() take a slice of a List
|
800 | 804 | sort() sort a List
|
@@ -826,6 +830,7 @@ Dictionary manipulation: *dict-functions*
|
826 | 830 | filter() remove selected entries from a Dictionary
|
827 | 831 | map() change each Dictionary entry
|
828 | 832 | mapnew() make a new Dictionary with changed items
|
| 833 | + foreach() apply function to Dictionary items |
829 | 834 | keys() get List of Dictionary keys
|
830 | 835 | values() get List of Dictionary values
|
831 | 836 | items() get List of Dictionary key-value pairs
|
|
0 commit comments