@@ -100,10 +100,10 @@ syn match rubyInterpolation "#\$\%(-\w\|[!$&"'*+,./0:;<>?@\`~_]\|\w\+\)"
100100syn match rubyInterpolation " #@@\=\w\+ " display contained contains =rubyInterpolationDelimiter,rubyInstanceVariable,rubyClassVariable
101101syn match rubyInterpolationDelimiter " #\z e[$@]" display contained
102102
103- syn match rubyStringEscape " \\\_ ." contained display
104- syn match rubyStringEscape " \\\o\{ 1,3}\|\\ x\x\{ 1,2}" contained display
105- syn match rubyStringEscape " \\ u\% (\x\{ 4}\| {\x\{ 1,6}\% (\s\+\x\{ 1,6}\) *}\) " contained display
106- syn match rubyStringEscape " \% (\\ M-\\ C-\|\\ C-\\ M-\|\\ M-\\ c\|\\ c\\ M-\|\\ c\|\\ C-\|\\ M-\)\% (\\\o\{ 1,3}\|\\ x\x\{ 1,2}\|\\\=\S \) " contained display
103+ syn match rubyStringEscape " \\\_ ." contained display
104+ syn match rubyStringEscape " \\\o\{ 1,3}\|\\ x\x\{ 1,2}" contained display
105+ syn match rubyStringEscape " \\ u\% (\x\{ 4}\| {\x\{ 1,6}\% (\s\+\x\{ 1,6}\) *}\) " contained display
106+ syn match rubyStringEscape " \% (\\ M-\\ C-\|\\ C-\\ M-\|\\ M-\\ c\|\\ c\\ M-\|\\ c\|\\ C-\|\\ M-\)\% (\\\o\{ 1,3}\|\\ x\x\{ 1,2}\|\\\= . \) " contained display
107107
108108syn match rubyBackslashEscape " \\\\ " contained display
109109syn match rubyQuoteEscape " \\ '" contained display
@@ -216,7 +216,7 @@ SynFold '%' syn region rubyRegexp matchgroup=rubyPercentRegexpDelimiter start="%
216216SynFold ' %' syn region rubyRegexp matchgroup= rubyPercentRegexpDelimiter start = " %r\z (\s\) " end = " \z 1[iomxneus]*" skip = " \\\\ \| \\ \z 1" contains= @r ubyRegexpSpecial
217217
218218" Characters {{{1
219- syn match rubyCharacter " \% (\w\| [^\x 00-\x 7F]\| []})\" '/]\)\@ 1<!\% (?\% (\\ M-\\ C-\|\\ C-\\ M-\|\\ M-\\ c\|\\ c\\ M-\|\\ c\|\\ C-\|\\ M-\)\=\% (\\\o\{ 1,3}\|\\ x\x\{ 1,2}\|\\\=\S \)\) "
219+ syn match rubyCharacter " \% (\w\| [^\x 00-\x 7F]\| []})\" '/]\)\@ 1<!\% (?\% (\\ M-\\ C-\|\\ C-\\ M-\|\\ M-\\ c\|\\ c\\ M-\|\\ c\|\\ C-\|\\ M-\)\=\% (\\\o\{ 1,3}\|\\ x\x\{ 1,2}\|\\ [[:space:]] \|\\\= [^[:space:]] \)\) "
220220syn match rubyCharacter " \% (\w\| [^\x 00-\x 7F]\| []})\" '/]\)\@ 1<!?\\ u\% (\x\{ 4}\| {\x\{ 1,6}}\) "
221221
222222" Normal Strings {{{1
0 commit comments