|
12 | 12 | "L:source.json.embedded .meta.embedded.contributes. .meta.embedded.problemMatchers. meta.structure.array.json .meta.embedded.pattern. .meta.embedded.regexp. string.quoted.double.json -(meta.structure.dictionary.json meta.structure.dictionary.json meta.structure.dictionary.json meta.structure.dictionary.json meta.structure.dictionary.json) -(meta.structure.array.json meta.structure.array.json) -meta.embedded.json.regexp -comment", |
13 | 13 | "L:source.json.embedded .meta.embedded.contributes. .meta.embedded.problemPatterns. meta.structure.array.json .meta.embedded.patterns. meta.structure.array.json .meta.embedded.regexp. string.quoted.double.json -(meta.structure.dictionary.json meta.structure.dictionary.json meta.structure.dictionary.json meta.structure.dictionary.json meta.structure.dictionary.json) -(meta.structure.array.json meta.structure.array.json meta.structure.array.json) -meta.embedded.json.regexp -comment", |
14 | 14 | "L:source.json.embedded .meta.embedded.contributes. .meta.embedded.problemPatterns. meta.structure.array.json .meta.embedded.regexp. string.quoted.double.json -(meta.structure.dictionary.json meta.structure.dictionary.json meta.structure.dictionary.json meta.structure.dictionary.json) -(meta.structure.array.json meta.structure.array.json) -meta.embedded.json.regexp -comment", |
15 | | - "L:source.json.comments.embedded .meta.embedded.wordPattern. (.meta.embedded.pattern. -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments) | -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments)) meta.structure.dictionary.value.json.comments string.quoted.double.json.comments -meta.structure.array.json.comments -meta.embedded.json.regexp -comment", |
16 | | - "L:source.json.comments.embedded .meta.embedded.folding. .meta.embedded.markers. (.meta.embedded.start. | .meta.embedded.end.) meta.structure.dictionary.value.json.comments string.quoted.double.json.comments -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments) -meta.structure.array.json.comments -meta.embedded.json.regexp -comment", |
17 | | - "L:source.json.comments.embedded .meta.embedded.onEnterRules. meta.structure.array.json.comments (.meta.embedded.afterText. | .meta.embedded.beforeText. | .meta.embedded.previousLineText.) (.meta.embedded.pattern. -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments) | -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments)) meta.structure.dictionary.value.json.comments string.quoted.double.json.comments -(meta.structure.array.json.comments meta.structure.array.json.comments) -meta.embedded.json.regexp -comment", |
18 | | - "L:source.json.comments.embedded .meta.embedded.indentationRules. (.meta.embedded.decreaseIndentPattern. | .meta.embedded.increaseIndentPattern. | .meta.embedded.unIndentedLinePattern. | .meta.embedded.indentNextLinePattern.) (.meta.embedded.pattern. -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments) | -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments)) meta.structure.dictionary.value.json.comments string.quoted.double.json.comments -meta.structure.array.json.comments -meta.embedded.json.regexp -comment", |
| 15 | + "L:source.json.comments.embedded .meta.embedded.wordPattern. (.meta.embedded.pattern. -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments) | -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments)) string.quoted.double.json.comments -meta.structure.array.json.comments -meta.embedded.json.regexp -comment", |
| 16 | + "L:source.json.comments.embedded .meta.embedded.folding. .meta.embedded.markers. (.meta.embedded.start. | .meta.embedded.end.) string.quoted.double.json.comments -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments) -meta.structure.array.json.comments -meta.embedded.json.regexp -comment", |
| 17 | + "L:source.json.comments.embedded .meta.embedded.onEnterRules. meta.structure.array.json.comments (.meta.embedded.afterText. | .meta.embedded.beforeText. | .meta.embedded.previousLineText.) (.meta.embedded.pattern. -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments) | -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments)) string.quoted.double.json.comments -(meta.structure.array.json.comments meta.structure.array.json.comments) -meta.embedded.json.regexp -comment", |
| 18 | + "L:source.json.comments.embedded .meta.embedded.indentationRules. (.meta.embedded.decreaseIndentPattern. | .meta.embedded.increaseIndentPattern. | .meta.embedded.unIndentedLinePattern. | .meta.embedded.indentNextLinePattern.) (.meta.embedded.pattern. -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments) | -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments)) string.quoted.double.json.comments -meta.structure.array.json.comments -meta.embedded.json.regexp -comment", |
19 | 19 | "L:source.json.comments.embedded .meta.embedded.tasks. meta.structure.array.json.comments .meta.embedded.problemMatcher. .meta.embedded.background. (.meta.embedded.beginsPattern. | .meta.embedded.endsPattern.) (string.quoted.double.json.comments -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments) | .meta.embedded.regexp. string.quoted.double.json.comments -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments)) -(meta.structure.array.json.comments meta.structure.array.json.comments meta.structure.array.json.comments) -meta.embedded.json.regexp -comment", |
20 | 20 | "L:source.json.comments.embedded .meta.embedded.tasks. meta.structure.array.json.comments .meta.embedded.problemMatcher. .meta.embedded.pattern. meta.structure.array.json.comments .meta.embedded.regexp. string.quoted.double.json.comments -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments) -(meta.structure.array.json.comments meta.structure.array.json.comments meta.structure.array.json.comments meta.structure.array.json.comments) -meta.embedded.json.regexp -comment", |
21 | 21 | "L:source.json.comments.embedded .meta.embedded.tasks. meta.structure.array.json.comments .meta.embedded.problemMatcher. .meta.embedded.pattern. .meta.embedded.regexp. string.quoted.double.json.comments -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments) -(meta.structure.array.json.comments meta.structure.array.json.comments meta.structure.array.json.comments) -meta.embedded.json.regexp -comment", |
|
53 | 53 | "name": "keyword.other.back-reference.regexp.json", |
54 | 54 | "patterns": [ |
55 | 55 | { |
56 | | - "match": "[$A-Z_a-z][$0-9A-Z_a-z]*", |
| 56 | + "match": "[$_[:alpha:]][$_[:alnum:]]*", |
57 | 57 | "name": "variable.other.regexp.json" |
58 | 58 | }, |
59 | 59 | { "include": "source.json.embedded#stringcontent" } |
|
92 | 92 | "patterns": [ { "include": "#regexp" } ] |
93 | 93 | }, |
94 | 94 | { |
95 | | - "begin": "\\((?>(\\?([ims-]*):)|\\?<([a-zA-Z_$][\\w$]*)>)?", |
| 95 | + "begin": "\\((?>(\\?([-ims]*):)|\\?<([$_[:alpha:]][$_[:alnum:]]*)>)?", |
96 | 96 | "end": "\\)|(?=\")|$", |
97 | 97 | "beginCaptures": { |
98 | 98 | "0": { "name": "punctuation.definition.group.regexp.json" }, |
|
125 | 125 | "name": "variable.other.constant.character-class.range.regexp.json" |
126 | 126 | }, |
127 | 127 | { |
128 | | - "match": "(?:(\\\\{2}(?>[0-7]{3}|x\\h{2}|u\\h{4}))|(\\\\{2}c[A-Z])|(\\\\{4}|\\\\{1,2}[^\\\\wWsSdD])|.)-(?:(\\\\{2}(?:[0-7]{3}|x\\h{2}|u\\h{4}))|(\\\\{2}c[A-Z])|(\\\\{4}|\\\\{1,2}[^\\\\wWsSdD])|[^]])", |
| 128 | + "match": "(?:(\\\\{2}(?>[0-7]{3}|x\\h{2}|u\\h{4}))|(\\\\{2}c[A-Z])|(\\\\{4}|\\\\{1,2}[^\\\\wWsSdD])|.)-(?:(\\\\{2}(?:[0-7]{3}|x\\h{2}|u\\h{4}))|(\\\\{2}c[A-Z])|(\\\\{4}|\\\\{1,2}[^\\\\wWsSdD])|[^]\"])", |
129 | 129 | "captures": { |
130 | 130 | "0": { "name": "support.class.range.regex.json" }, |
131 | 131 | "1": { "name": "constant.character.numeric.regexp.json" }, |
|
154 | 154 | "name": "constant.character.class.regexp.json" |
155 | 155 | }, |
156 | 156 | { |
157 | | - "match": "\\\\{2}[trnvfb0]", |
| 157 | + "match": "\\\\{2}[0bfnrtv]", |
158 | 158 | "name": "constant.character.escape.character.regexp.json" |
159 | 159 | }, |
160 | 160 | { |
161 | | - "match": "\\\\{2}c[A-Z]", |
| 161 | + "match": "\\\\{2}c[A-Za-z]", |
162 | 162 | "name": "constant.character.control.regexp.json" |
163 | 163 | }, |
164 | 164 | { |
|
0 commit comments