File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ syn match rubyPredefinedConstant "\%(\%(\.\@<!\.\)\@<!\|::\)\_s*\zs\%(RUBY_VERSI
124124" syn match rubyPredefinedConstant "\%(::\)\=\zs\%(NotImplementError\)\>"
125125
126126" Normal Regular Expression
127- syn region rubyRegexp matchgroup =rubyRegexpDelimiter start =" \% (\% (^\|\<\% (and\| or\| while\| until\| unless\| if\| elsif\| when\| not\| then\| else\)\| [;\~ =!|&(,[>]\)\s *\)\@ <=/" end="/[iomxneus]*" skip="\\\\\|\\ /" contains=@rubyRegexpSpecial keepend fold
127+ syn region rubyRegexp matchgroup =rubyRegexpDelimiter start =" \% (\% (^\|\<\% (and\| or\| while\| until\| unless\| if\| elsif\| when\| not\| then\| else\)\| [;\~ =!|&(,[>?: ]\)\s *\)\@ <=/" end="/[iomxneus]*" skip="\\\\\|\\ /" contains=@rubyRegexpSpecial keepend fold
128128syn region rubyRegexp matchgroup =rubyRegexpDelimiter start =" \% (\h\k *\s\+\)\@ <=/[ \t =]\@ !" end =" /[iomxneus]*" skip =" \\\\\|\\ /" contains =@rubyRegexpSpecial fold
129129
130130" Generalized Regular Expression
You can’t perform that action at this time.
0 commit comments