Lines Matching refs:pat
111 " s:pat parsed version of b:match_words
112 " s:all regexp based on s:pat and the default groups
139 let s:pat = match_words
142 let s:pat = s:ParseWords(match_words)
144 let s:all = substitute(s:pat, s:notslash . '\zs[,:]\+', '\\|', 'g')
148 let b:match_pat = s:pat
201 let group = s:Choose(s:pat, matchline, ",", ":", prefix, suffix, patBR)
408 " matchstr(a:string, regexp) represents the match for a:pat that starts
416 fun! s:Wholematch(string, pat, start)
417 let group = '\%(' . a:pat . '\)'
483 let pat = escape(a:pattern, '\\')
486 let foo = substitute(a:string, pat, a:2, "g")
492 let index = matchend(foo, pat)
496 let index = matchend(foo, pat)
606 " pat = all of b:match_words with backrefs parsed
607 amenu &Matchit.&pat :echo b:match_pat<CR>
648 " s:pat parsed version of b:match_words
649 " s:all regexp based on s:pat and the default groups
665 let s:pat = match_words
668 let s:pat = s:ParseWords(match_words)
670 let s:all = '\%(' . substitute(s:pat . (strlen(s:pat)?",":"") . default,
673 let b:match_pat = s:pat
682 let cdefault = (s:pat =~ '[^,]$' ? "," : "") . default
683 let open = substitute(s:pat . cdefault,
686 let close = substitute(s:pat . cdefault,
762 " let group = s:Choose(s:pat, matchline, ",", ":", prefix, suffix, patBR)