| /vim-8.2.3635/src/testdir/ |
| H A D | test_substitute.vim | 361 \ '\=submatch(0) . submatch(9) . submatch(8) . ' . 362 \ 'submatch(7) . submatch(6) . submatch(5) . ' . 363 \ 'submatch(4) . submatch(3) . submatch(2) . submatch(1)', 369 \ '\=string([submatch(0, 1), submatch(9, 1), ' . 370 \ 'submatch(8, 1), 7->submatch(1), submatch(6, 1), ' . 371 \ 'submatch(5, 1), submatch(4, 1), submatch(3, 1), ' . 372 \ 'submatch(2, 1), submatch(1, 1)])', 603 …)\(.\)/\=submatch(0) . submatch(9) . submatch(8) . submatch(7) . submatch(6) . submatch(5) . subma… 604 …submatch(0, 1), submatch(9, 1), submatch(8, 1), submatch(7, 1), submatch(6, 1), submatch(5, 1), su… 871 \ {-> submatch(2) . submatch(3) . submatch(1)}, '')) [all …]
|
| H A D | summarize.vim | 32 silent %s/Executed\s\+\zs\d\+\ze\s\+tests\?/\=Count(submatch(0),'executed')/egn 33 silent %s/^SKIPPED \zs.*/\=Count(submatch(0), 'skipped')/egn 34 silent %s/^\(\d\+\)\s\+FAILED:/\=Count(submatch(1), 'failed')/egn
|
| H A D | test_regexp_utf8.vim | 228 " expected submatch 1 (optional) 229 " expected submatch 2 (optional) 337 \ '\", text: \"' . text . '\", submatch ' . i .
|
| H A D | test_regexp_latin.vim | 158 " expected submatch 1 (optional) 159 " expected submatch 2 (optional) 588 " TODO: BT engine does not restore submatch after failure 652 \ . '\", text: \"' . text . '\", submatch ' . i . ': \"'
|
| H A D | test_vim9_builtin.vim | 3562 var Rep = () => range(10)->mapnew((_, v) => submatch(v, true))->string() 3566 …CheckDefAndScriptFailure2(['submatch("x")'], 'E1013: Argument 1: type mismatch, expected number bu… 3567 …CheckDefAndScriptFailure2(['submatch(1, "a")'], 'E1013: Argument 2: type mismatch, expected bool b…
|
| /vim-8.2.3635/runtime/indent/ |
| H A D | matlab.vim | 60 let [lnum, c, submatch] = searchpos(a:pattern, 'cpe' . s:zflag, a:lnum) 61 if !submatch || c >= endcol | break | endif 62 if !s:IsCommentOrString(lnum, c) | let x[submatch - 2] += 1 | endif 102 let submatch = search(s:dedent_pat, 'cp' . s:zflag, v:lnum) 103 if submatch && !s:IsCommentOrString(v:lnum, col('.')) 106 …lnum ? indent(lnum) + shiftwidth() * (s:GetOpenCloseCount(lnum, pair_pat, col) + submatch == 2) : 0
|
| H A D | html.vim | 287 …t, '<\zs/\=' . s:tagname . '\>\|<!--\[\|\[endif\]-->\|<!--\|-->', '\=s:CheckTag(submatch(0))', 'g') 299 …t, '<\zs/\=' . s:tagname . '\>\|<!--\[\|\[endif\]-->\|<!--\|-->', '\=s:CheckTag(submatch(0))', 'g')
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | test_urls.vim | 29 " do not use submatch(1)! 55 %s/.*/\=TestURL(submatch(0))/
|
| H A D | change.txt | 937 The |submatch()| function can be used to obtain matched text. The whole 938 matched text can be accessed with "submatch(0)". The text matched with the 939 first pair of () with "submatch(1)". Likewise for further sub-matches in ().
|
| H A D | eval.txt | 3040 submatch({nr} [, {list}]) String or List 8042 in |:substitute|. When an optional submatch didn't match an 9723 < In this example "submatch" is 2 when a lowercase letter is 11055 submatch({nr} [, {list}]) *submatch()* *E935* 11058 Returns the {nr}'th submatch of the matched text. When {nr} 11064 If {list} is present and non-zero then submatch() returns 11076 :s/\d\+/\=submatch(0) + 1/ 11077 :echo substitute(text, '\d\+', '\=submatch(0) + 1', '') 11082 GetNr()->submatch() 11115 \ '\=nr2char("0x" . submatch(1))', 'g') [all …]
|
| H A D | usr_41.txt | 628 submatch() get a specific match in ":s" and substitute()
|
| /vim-8.2.3635/runtime/ftplugin/ |
| H A D | gitrebase.vim | 22 …^\(\w\+\>\)\=\(\s*\)\ze\x\{4,40\}\>/\=(strlen(submatch(1)) == 1 ? a:word[0] : a:word) . substitute…
|
| H A D | python.vim | 21 let b:grandparent_sub = '\=submatch(1)."/".repeat("../",strlen(submatch(2)))'
|
| /vim-8.2.3635/src/ |
| H A D | search.c | 634 int submatch = 0; in searchit() local 771 submatch = first_submatch(®match); in searchit() 863 submatch = first_submatch(®match); in searchit() 910 submatch = first_submatch(®match); in searchit() 1148 return submatch + 1; in searchit() 1171 int submatch; in first_submatch() local 1173 for (submatch = 1; ; ++submatch) in first_submatch() 1175 if (rp->startpos[submatch].lnum >= 0) in first_submatch() 1177 if (submatch == 9) in first_submatch() 1179 submatch = 0; in first_submatch() [all …]
|
| H A D | regexp_nfa.c | 5275 static int nfa_regmatch(nfa_regprog_T *prog, nfa_state_T *start, regsubs_T *submatch, regsubs_T *m); 5287 regsubs_T *submatch, in recursive_regmatch() argument 5418 result = nfa_regmatch(prog, state->out, submatch, m); in recursive_regmatch() 5730 regsubs_T *submatch, in nfa_regmatch() argument 5966 copy_sub(&submatch->norm, &t->subs.norm); in nfa_regmatch() 5969 copy_sub(&submatch->synt, &t->subs.synt); in nfa_regmatch() 6077 submatch, m, &listids, &listids_len); in nfa_regmatch() 6199 submatch, m, &listids, &listids_len); in nfa_regmatch() 6969 prog, submatch, m, &listids, &listids_len); in nfa_regmatch()
|
| /vim-8.2.3635/runtime/autoload/ |
| H A D | RstFold.vim | 28 …%(%(([=`:.''"~^_*+#-])\3{2,}\n)?.{3,}\n([=`:.''"~^_*+#-])\4{2,})$/\=closure.Process(submatch(0))/gn
|
| H A D | netrwFileHandlers.vim | 54 let exten= substitute(a:exten,'[@:,$!=\-+%?;~]','\=specials[submatch(0)]','ge')
|
| H A D | syntaxcomplete.vim | 650 \ , '\=substitute(submatch(1), "\\W\\+", " ", "g")'
|
| H A D | sqlcomplete.vim | 735 \ '\=strpart(submatch(0), 0, 1)',
|
| /vim-8.2.3635/src/po/ |
| H A D | en_GB.po | 124 msgid "E935: invalid submatch number: %d" 125 msgstr "E935: Invalid submatch number: %d"
|
| H A D | ko.UTF-8.po | 802 msgid "E935: invalid submatch number: %d" 803 msgstr "E935: 비정상적인 submatch number: %d"
|
| H A D | ko.po | 802 msgid "E935: invalid submatch number: %d" 803 msgstr "E935: ���������� submatch number: %d"
|
| H A D | eo.po | 836 msgid "E935: invalid submatch number: %d" 837 msgstr "E935: nevalida indekso de \"submatch\": %d"
|
| H A D | fr.po | 869 msgid "E935: invalid submatch number: %d" 870 msgstr "E935: num�ro de submatch invalide : %d"
|
| /vim-8.2.3635/runtime/syntax/ |
| H A D | vim.vim | 84 …etplaced sign_unplace slice sound_playfile sqrt str2nr strftime strpart submatch synID systemlist …
|