Lines Matching refs:substitute
38 let colors = substitute(s, '"\s*\d\+\s\+\d\+\s\+\(\d\+\).*"', '\1', '')
40 let cpp = substitute(s, '"\s*\d\+\s\+\d\+\s\+\d\+\s\+\(\d\+\).*"', '\1', '')
58 let chars = substitute(s, '"\(.\{'.cpp.'}\s\).*"', '\1', '')
61 let color = substitute(s, '".*\sc\s\+\(.\{-}\)\s*\(\(g4\=\|[ms]\)\s.*\)*\s*"', '\1', '')
64 let color = substitute(s, '".*\sg\s\+\(.\{-}\)\s*\(\(g4\|[ms]\)\s.*\)*\s*"', '\1', '')
67 let color = substitute(s, '".*\sg4\s\+\(.\{-}\)\s*\([ms]\s.*\)*\s*"', '\1', '')
70 let color = substitute(s, '".*\sm\s\+\(.\{-}\)\s*\(s\s.*\)*\s*"', '\1', '')
80 let color = substitute(color, '\(\x\x\)\x\x', '\1', 'g')
82 let color = substitute(color, '\(\x\x\)\x', '\1', 'g')
85 let color = substitute(color, '\(\x\)\(\x\)\(\x\)', '0\10\20\3', '')
102 let chars = substitute(chars, '.$', '', '')
109 if color == "" || substitute(color, '.*', '\L&', '') == 'none'