Home
last modified time | relevance | path

Searched refs:matchlist (Results 1 – 25 of 25) sorted by relevance

/vim-8.2.3635/runtime/ftplugin/
H A Dsystemd.vim24 …let matches = matchlist(getline(search('\v^\s*\[\s*.+\s*\]\s*$', 'nbWz')), '\v^\s*\[\s*(\k+).*\]\s…
H A Ddebchangelog.vim258 let pkgname = matchlist(curline, '^\(\S\+\).*$')[1]
364 let parts = matchlist(line, '^\s*\(#\S\+\)\s*-\s*\(.*\)$')
/vim-8.2.3635/src/testdir/
H A Dtest_regexp_latin.vim64 let actual = matchlist('abc def', '\(abc\>\)\?\s*\(def\)')
619 let l = matchlist(text, pat)
917 call assert_equal(repeat([''], 10), matchlist(' ', '\%#=1\ze \zs'))
918 call assert_equal(repeat([''], 10), matchlist(' ', '\%#=2\ze \zs'))
923 call assert_fails("call matchlist('x x', '\\%#=1 \\zs*')", 'E888:')
924 call assert_fails("call matchlist('x x', '\\%#=1 \\ze*')", 'E888:')
925 call assert_fails("call matchlist('x x', '\\%#=2 \\zs*')", 'E888:')
926 call assert_fails("call matchlist('x x', '\\%#=2 \\ze*')", 'E888:')
H A Dtest_vim9_builtin.vim2244 assert_equal(l, matchlist('ab12cd', '12'))
2245 assert_equal([], matchlist('ab12cd', '34'))
2246 assert_equal(l, matchlist('ab12cd12ef', '12', 4))
2248 assert_equal(l, matchlist('abcd', '..', 0, 3))
2250 assert_equal(l, matchlist(['a', 'b', 'c'], 'b'))
2251 assert_equal([], matchlist(['a', 'b', 'c'], 'd'))
2252 assert_equal(l, matchlist(['a', 'b', 'c', 'b', 'd', 'b'], 'b', 2))
2253 assert_equal(l, matchlist(['a', 'b', 'c', 'b', 'd', 'b'], 'b', 2, 2))
2254 matchlist('', 'a')->assert_equal([])
2255 matchlist('abc', '')->assert_equal(repeat([''], 10))
[all …]
H A Dtest_regexp_utf8.vim305 let l = matchlist(text, pat)
H A Dtest_functions.vim1101 …call assert_equal(['acd', 'a', '', 'c', 'd', '', '', '', '', ''], matchlist('acd', '\(a\)\?\(b\)\…
1102 …call assert_equal(['d', '', '', '', 'd', '', '', '', '', ''], 'acd'->matchlist('\(a\)\?\(b\)\?\(c…
1103 call assert_equal([], matchlist('acd', '\(a\)\?\(b\)\?\(c\)\?\(.*\)', 4))
H A Dtest_vim9_assign.vim346 [_, before, middle, after; _] = text->matchlist('\(.\{-\}\){\(.\{-\}\)}\(.*\)')
/vim-8.2.3635/runtime/autoload/
H A Drustfmt.vim62 … let tokens = matchlist(line, '^\(.\{-}\):\(\d\+\):\(\d\+\):\s*\(\d\+:\d\+\s*\)\?\s*error: \(.*\)')
H A Djavascriptcomplete.vim587 let f_elements = matchlist(i, 'function\s\+\(\k\+\)\s*(\(.\{-}\))')
H A Dphpcomplete.vim2360 let parts = matchlist(param_line, '@param\s\+\(\S\+\)\s\+\(\S\+\)\s*\(.*\)')
2372 let return_parts = matchlist(return_line[0], '@return\s\+\(\S\+\)\s*\(.*\)')
2381 let parts = matchlist(exception_line, '^\(@throws\|@exception\)\s\+\(\S\+\)\s*\(.*\)')
2392 let var_parts = matchlist(var_line[0], '\(@var\|@type\)\s\+\(\S\+\)\s*\(.*\)')
2401 let parts = matchlist(property_line, '\(@property\)\s\+\(\S\+\)\s*\(.*\)')
/vim-8.2.3635/src/
H A Dinsexpand.c2268 list_T *matchlist = NULL; in expand_by_function() local
2299 matchlist = rettv.vval.v_list; in expand_by_function()
2324 if (matchlist != NULL) in expand_by_function()
2325 ins_compl_add_list(matchlist); in expand_by_function()
2335 if (matchlist != NULL) in expand_by_function()
2336 list_unref(matchlist); in expand_by_function()
H A Dcreate_cmdidxs.vim18 let m = matchlist(line, '^EXCMD(CMD_\S*,\s*"\([a-z][^"]*\)"')
/vim-8.2.3635/runtime/syntax/
H A Ddircolors.vim111 let defline = matchlist(line, '^\v([A-Z_]+|[*.]\S+)\s+([0-9;]+)')
H A Druby.vim59 let [_0, _1, groups, cmd; _] = matchlist(a:args, '\(["'']\)\(.\{-}\)\1\s\+\(.*\)')
H A Dvim.vim82 …getchannel job_stop json_encode line listener_add log10 mapnew matcharg matchlist min nr2char popu…
H A D2html.vim1068 …let l:rgb = map(matchlist(l:progbar_color, '#\zs\x\x\ze\(\x\x\)\(\x\x\)')[:2], 'str2nr(v:val, 16)')
/vim-8.2.3635/runtime/plugin/
H A Dmatchparen.vim56 let matches = matchlist(text, '\(.\)\=\%'.c_col.'c\(.\=\)')
/vim-8.2.3635/runtime/doc/
H A Dtagsrch.txt13 3. Tag match list |tag-matchlist|
47 first one is jumped to. See |tag-matchlist| for
57 first one is jumped to. See |tag-matchlist| for
216 3. Tag match list *tag-matchlist* *E427* *E428*
H A Dtags7910 matchlist() eval.txt /*matchlist()*
9577 tag-matchlist tagsrch.txt /*tag-matchlist*
H A Deval.txt2812 matchlist({expr}, {pat} [, {start} [, {count}]])
7760 For getting submatches see |matchlist()|.
8038 matchlist({expr}, {pat} [, {start} [, {count}]]) *matchlist()*
8044 echo matchlist('acd', '\(a\)\?\(b\)\?\(c\)\?\(.*\)')
8051 GetText()->matchlist('word')
H A Dusr_41.txt618 matchlist() like matchstr() and also return submatches
H A Dversion7.txt905 |matchlist()| list with match and submatches of a pattern in a string
2787 Made matchlist() always return all submatches.
H A Dtodo.txt2479 Regexp: matchlist('12a4aaa', '^\(.\{-}\)\(\%5c\@<=a\+\)\(.\+\)\?')
/vim-8.2.3635/runtime/indent/
H A Djavascript.vim90 let [divider, n, cstr] = [0] + matchlist(&cino,
H A Derlang.vim1392 let ml = matchlist(getline(lnum), '^\(\s*\)%')
1405 let ml = matchlist(currline,