github-linguist 7.5.1 → 7.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/grammars/annotation.liquidhaskell.haskell.json +122 -24
  3. data/grammars/etc.json +7 -0
  4. data/grammars/hint.haskell.json +122 -24
  5. data/grammars/hint.message.haskell.json +122 -24
  6. data/grammars/hint.type.haskell.json +122 -24
  7. data/grammars/injections.etc.json +48 -10
  8. data/grammars/source.abnf.json +180 -353
  9. data/grammars/source.ballerina.json +205 -50
  10. data/grammars/source.bnf.json +191 -0
  11. data/grammars/source.cabal.json +1 -1
  12. data/grammars/source.ditroff.desc.json +1 -1
  13. data/grammars/source.ebnf.json +157 -147
  14. data/grammars/source.editorconfig.json +30 -5
  15. data/grammars/source.emacs.lisp.json +4 -4
  16. data/grammars/source.gremlin.json +200 -0
  17. data/grammars/source.haproxy-config.json +65 -13
  18. data/grammars/source.haskell.json +122 -24
  19. data/grammars/source.hql.json +1 -1
  20. data/grammars/source.hsig.json +122 -24
  21. data/grammars/source.hx.json +5 -5
  22. data/grammars/source.hxml.json +4 -4
  23. data/grammars/source.ideal.json +4 -4
  24. data/grammars/source.igor.json +325 -0
  25. data/grammars/source.jlex.json +322 -0
  26. data/grammars/source.julia.json +132 -1
  27. data/grammars/source.lean.json +103 -54
  28. data/grammars/source.lex.json +232 -0
  29. data/grammars/source.lex.regexp.json +269 -0
  30. data/grammars/source.logos.json +1 -1
  31. data/grammars/source.meson.json +1 -1
  32. data/grammars/source.mlir.json +389 -0
  33. data/grammars/source.nanorc.json +3 -0
  34. data/grammars/source.pic.json +19 -19
  35. data/grammars/source.plist.json +336 -0
  36. data/grammars/source.powershell.json +2 -2
  37. data/grammars/source.purescript.json +2 -2
  38. data/grammars/source.rascal.json +1 -0
  39. data/grammars/source.regexp.extended.json +544 -6
  40. data/grammars/source.regexp.json +408 -31
  41. data/grammars/source.renpy.json +3 -1
  42. data/grammars/source.scala.json +199 -97
  43. data/grammars/source.smpl.json +314 -0
  44. data/grammars/source.solidity.json +1 -1
  45. data/grammars/source.sourcepawn.json +654 -0
  46. data/grammars/source.sqf.json +5 -1
  47. data/grammars/source.swift.json +56 -11
  48. data/grammars/source.sy.json +800 -0
  49. data/grammars/source.ts.json +64 -47
  50. data/grammars/source.tsx.json +65 -48
  51. data/grammars/source.v.json +1184 -0
  52. data/grammars/source.viml.json +31 -31
  53. data/grammars/source.wollok.json +1 -1
  54. data/grammars/source.xojo.json +2 -2
  55. data/grammars/source.yacc.json +626 -0
  56. data/grammars/source.yara.json +1 -1
  57. data/grammars/source.yasnippet.json +15 -25
  58. data/grammars/source.zeek.json +4 -4
  59. data/grammars/source.zig.json +594 -195
  60. data/grammars/text.eml.basic.json +19 -6
  61. data/grammars/text.html.php.blade.json +3 -3
  62. data/grammars/text.plain.json +18 -0
  63. data/grammars/text.roff.json +926 -437
  64. data/grammars/text.runoff.json +3 -3
  65. data/grammars/text.tex.latex.haskell.json +122 -24
  66. data/grammars/text.texinfo.json +1525 -0
  67. data/grammars/text.xml.plist.json +664 -0
  68. data/grammars/text.xml.svg.json +556 -0
  69. data/grammars/version +1 -1
  70. data/lib/linguist.rb +3 -1
  71. data/lib/linguist/VERSION +1 -1
  72. data/lib/linguist/generated.rb +62 -17
  73. data/lib/linguist/heuristics.yml +13 -0
  74. data/lib/linguist/language.rb +1 -11
  75. data/lib/linguist/languages.json +1 -1
  76. data/lib/linguist/languages.yml +179 -19
  77. data/lib/linguist/samples.json +2778 -732
  78. data/lib/linguist/strategy/manpage.rb +42 -0
  79. metadata +22 -5
  80. data/grammars/source.bison.json +0 -55
  81. data/grammars/source.sp.json +0 -113
@@ -751,7 +751,7 @@
751
751
  }
752
752
  },
753
753
  {
754
- "match": "(\\$)(?i:(ConfirmPreference|DebugPreference|ErrorActionPreference|ErrorView|FormatEnumerationLimit|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount|MaximumHistoryCount|MaximumVariableCount|OFS|OutputEncoding|ProgressPreference|PsCulture|PSDebugContext|PSDefaultParameterValues|PSEmailServer|PSItem|PSModuleAutoloadingPreference|PSSenderInfo|PSSessionApplicationName|PSSessionConfigurationName|PSSessionOption|VerbosePreference|WarningPreference|WhatIfPreference))((?:\\.(?:\\p{L}|\\d|_)+)*\\b)?\\b",
754
+ "match": "(\\$)(?i:(ConfirmPreference|DebugPreference|ErrorActionPreference|ErrorView|FormatEnumerationLimit|InformationPreference|LogCommandHealthEvent|LogCommandLifecycleEvent|LogEngineHealthEvent|LogEngineLifecycleEvent|LogProviderHealthEvent|LogProviderLifecycleEvent|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount|MaximumHistoryCount|MaximumVariableCount|OFS|OutputEncoding|PSCulture|PSDebugContext|PSDefaultParameterValues|PSEmailServer|PSItem|PSModuleAutoLoadingPreference|PSModuleAutoloadingPreference|PSSenderInfo|PSSessionApplicationName|PSSessionConfigurationName|PSSessionOption|ProgressPreference|VerbosePreference|WarningPreference|WhatIfPreference))((?:\\.(?:\\p{L}|\\d|_)+)*\\b)?\\b",
755
755
  "captures": {
756
756
  "0": {
757
757
  "name": "variable.language.powershell"
@@ -888,7 +888,7 @@
888
888
  }
889
889
  },
890
890
  {
891
- "match": "(\\$)(?i:(ConfirmPreference|DebugPreference|ErrorActionPreference|ErrorView|FormatEnumerationLimit|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount|MaximumHistoryCount|MaximumVariableCount|OFS|OutputEncoding|ProgressPreference|PsCulture|PSDebugContext|PSDefaultParameterValues|PSEmailServer|PSItem|PSModuleAutoloadingPreference|PSSenderInfo|PSSessionApplicationName|PSSessionConfigurationName|PSSessionOption|VerbosePreference|WarningPreference|WhatIfPreference))\\b",
891
+ "match": "(\\$)(?i:(ConfirmPreference|DebugPreference|ErrorActionPreference|ErrorView|FormatEnumerationLimit|InformationPreference|LogCommandHealthEvent|LogCommandLifecycleEvent|LogEngineHealthEvent|LogEngineLifecycleEvent|LogProviderHealthEvent|LogProviderLifecycleEvent|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount|MaximumHistoryCount|MaximumVariableCount|OFS|OutputEncoding|PSCulture|PSDebugContext|PSDefaultParameterValues|PSEmailServer|PSItem|PSModuleAutoLoadingPreference|PSModuleAutoloadingPreference|PSSenderInfo|PSSessionApplicationName|PSSessionConfigurationName|PSSessionOption|ProgressPreference|VerbosePreference|WarningPreference|WhatIfPreference))\\b",
892
892
  "captures": {
893
893
  "0": {
894
894
  "name": "variable.language.powershell"
@@ -288,7 +288,7 @@
288
288
  },
289
289
  {
290
290
  "name": "constant.numeric.float.purescript",
291
- "match": "\\b([0-9]+\\.[0-9]+([eE][+-]?[0-9]+)?|[0-9]+[eE][+-]?[0-9]+)\\b"
291
+ "match": "\\b(([0-9]+_?)*[0-9]+\\.[0-9]+([eE][+-]?[0-9]+)?|[0-9]+[eE][+-]?[0-9]+)\\b"
292
292
  },
293
293
  {
294
294
  "name": "constant.language.boolean.purescript",
@@ -296,7 +296,7 @@
296
296
  },
297
297
  {
298
298
  "name": "constant.numeric.purescript",
299
- "match": "\\b([0-9]+|0([xX][0-9a-fA-F]+|[oO][0-7]+))\\b"
299
+ "match": "\\b(([0-9]+_?)*[0-9]+|0([xX][0-9a-fA-F]+|[oO][0-7]+))\\b"
300
300
  },
301
301
  {
302
302
  "name": "string.quoted.triple.purescript",
@@ -69,6 +69,7 @@
69
69
  "patterns": [
70
70
  {
71
71
  "name": "string.regexp.rascal",
72
+ "begin": "/(?!/|\\*)",
72
73
  "end": "/([dims]*)",
73
74
  "patterns": [
74
75
  {
@@ -3,16 +3,554 @@
3
3
  "scopeName": "source.regexp.extended",
4
4
  "patterns": [
5
5
  {
6
- "include": "source.regexp#main"
6
+ "include": "#main"
7
7
  }
8
8
  ],
9
- "injections": {
10
- "source.regexp.extended": {
9
+ "repository": {
10
+ "assertion": {
11
11
  "patterns": [
12
12
  {
13
- "name": "comment.line.number-sign",
14
- "begin": "(?\u003c![^\\\\]\\\\)#",
15
- "end": "$"
13
+ "name": "meta.assertion.positive.look-ahead.regexp",
14
+ "begin": "\\(\\?=",
15
+ "end": "\\)",
16
+ "patterns": [
17
+ {
18
+ "include": "#main"
19
+ }
20
+ ],
21
+ "beginCaptures": {
22
+ "0": {
23
+ "name": "punctuation.definition.assertion.begin.regexp"
24
+ }
25
+ },
26
+ "endCaptures": {
27
+ "0": {
28
+ "name": "punctuation.definition.assertion.end.regexp"
29
+ }
30
+ }
31
+ },
32
+ {
33
+ "name": "meta.assertion.negative.look-ahead.regexp",
34
+ "begin": "\\(\\?!",
35
+ "end": "\\)",
36
+ "patterns": [
37
+ {
38
+ "include": "#main"
39
+ }
40
+ ],
41
+ "beginCaptures": {
42
+ "0": {
43
+ "name": "punctuation.definition.assertion.begin.regexp"
44
+ }
45
+ },
46
+ "endCaptures": {
47
+ "0": {
48
+ "name": "punctuation.definition.assertion.end.regexp"
49
+ }
50
+ }
51
+ },
52
+ {
53
+ "name": "meta.assertion.negative.look-behind.regexp",
54
+ "begin": "\\(\\?\u003c!",
55
+ "end": "\\)",
56
+ "patterns": [
57
+ {
58
+ "include": "#main"
59
+ }
60
+ ],
61
+ "beginCaptures": {
62
+ "0": {
63
+ "name": "punctuation.definition.assertion.begin.regexp"
64
+ }
65
+ },
66
+ "endCaptures": {
67
+ "0": {
68
+ "name": "punctuation.definition.assertion.end.regexp"
69
+ }
70
+ }
71
+ },
72
+ {
73
+ "name": "meta.assertion.positive.look-behind.regexp",
74
+ "begin": "\\(\\?\u003c=",
75
+ "end": "\\)",
76
+ "patterns": [
77
+ {
78
+ "include": "#main"
79
+ }
80
+ ],
81
+ "beginCaptures": {
82
+ "0": {
83
+ "name": "punctuation.definition.assertion.begin.regexp"
84
+ }
85
+ },
86
+ "endCaptures": {
87
+ "0": {
88
+ "name": "punctuation.definition.assertion.end.regexp"
89
+ }
90
+ }
91
+ }
92
+ ]
93
+ },
94
+ "calloutBrackets": {
95
+ "begin": "{",
96
+ "end": "}",
97
+ "patterns": [
98
+ {
99
+ "include": "#calloutBrackets"
100
+ },
101
+ {
102
+ "include": "#main"
103
+ }
104
+ ],
105
+ "beginCaptures": {
106
+ "0": {
107
+ "name": "punctuation.definition.bracket.curly.begin.regexp"
108
+ }
109
+ },
110
+ "endCaptures": {
111
+ "0": {
112
+ "name": "punctuation.definition.bracket.curly.end.regexp"
113
+ }
114
+ }
115
+ },
116
+ "comment": {
117
+ "name": "comment.line.number-sign.regexp",
118
+ "begin": "#",
119
+ "end": "$",
120
+ "beginCaptures": {
121
+ "0": {
122
+ "name": "punctuation.definition.comment.regexp"
123
+ }
124
+ }
125
+ },
126
+ "conditional": {
127
+ "name": "meta.conditional.regexp",
128
+ "begin": "(\\()(\\?)(?=\\()",
129
+ "end": "\\)",
130
+ "patterns": [
131
+ {
132
+ "name": "punctuation.separator.condition.if-else.regexp",
133
+ "match": "\\|"
134
+ },
135
+ {
136
+ "include": "#assertion"
137
+ },
138
+ {
139
+ "name": "meta.condition.function-call.regexp",
140
+ "begin": "\\G\\(",
141
+ "end": "\\)",
142
+ "patterns": [
143
+ {
144
+ "name": "storage.type.function.subpattern.regexp",
145
+ "match": "\\GDEFINE"
146
+ },
147
+ {
148
+ "name": "keyword.other.assertion.regexp",
149
+ "match": "\\Gassert"
150
+ },
151
+ {
152
+ "match": "\\G(?:(\u003c)([^\u003e]+)(\u003e)|(')([^\u003e]+)('))",
153
+ "captures": {
154
+ "1": {
155
+ "name": "punctuation.definition.group-reference.bracket.angle.begin.regexp"
156
+ },
157
+ "2": {
158
+ "name": "entity.group.name.regexp"
159
+ },
160
+ "3": {
161
+ "name": "punctuation.definition.group-reference.bracket.angle.end.regexp"
162
+ },
163
+ "4": {
164
+ "name": "punctuation.definition.group-reference.quote.single.begin.regexp"
165
+ },
166
+ "5": {
167
+ "name": "entity.group.name.regexp"
168
+ },
169
+ "6": {
170
+ "name": "punctuation.definition.group-reference.quote.single.end.regexp"
171
+ }
172
+ }
173
+ },
174
+ {
175
+ "match": "\\G(R(\u0026))(\\w+)",
176
+ "captures": {
177
+ "1": {
178
+ "name": "keyword.other.recursion.specific.regexp"
179
+ },
180
+ "2": {
181
+ "name": "punctuation.definition.reference.regexp"
182
+ },
183
+ "3": {
184
+ "name": "entity.group.name.regexp"
185
+ }
186
+ }
187
+ },
188
+ {
189
+ "name": "keyword.other.recursion.specific-group.regexp",
190
+ "match": "\\GR\\d+"
191
+ },
192
+ {
193
+ "name": "keyword.other.recursion.overall.regexp",
194
+ "match": "\\GR"
195
+ },
196
+ {
197
+ "name": "keyword.other.reference.absolute.regexp",
198
+ "match": "\\G\\d+"
199
+ },
200
+ {
201
+ "name": "keyword.other.reference.relative.regexp",
202
+ "match": "\\G[-+]\\d+"
203
+ },
204
+ {
205
+ "name": "entity.group.name.regexp",
206
+ "match": "\\G\\w+"
207
+ }
208
+ ],
209
+ "beginCaptures": {
210
+ "0": {
211
+ "name": "punctuation.section.condition.begin.regexp"
212
+ }
213
+ },
214
+ "endCaptures": {
215
+ "0": {
216
+ "name": "punctuation.section.condition.end.regexp"
217
+ }
218
+ }
219
+ },
220
+ {
221
+ "include": "#main"
222
+ }
223
+ ],
224
+ "beginCaptures": {
225
+ "1": {
226
+ "name": "punctuation.section.condition.begin.regexp"
227
+ },
228
+ "2": {
229
+ "name": "keyword.control.flow.regexp"
230
+ }
231
+ },
232
+ "endCaptures": {
233
+ "0": {
234
+ "name": "punctuation.section.condition.end.regexp"
235
+ }
236
+ }
237
+ },
238
+ "group": {
239
+ "patterns": [
240
+ {
241
+ "include": "source.regexp#fixedGroups"
242
+ },
243
+ {
244
+ "name": "meta.group.named.regexp",
245
+ "begin": "\\(\\?(?=P?[\u003c'])",
246
+ "end": "\\)",
247
+ "patterns": [
248
+ {
249
+ "contentName": "entity.group.name.regexp",
250
+ "begin": "\\G(P?)(\u003c)",
251
+ "end": "\u003e",
252
+ "beginCaptures": {
253
+ "1": {
254
+ "name": "storage.type.function.named-group.regexp"
255
+ },
256
+ "2": {
257
+ "name": "punctuation.definition.named-group.bracket.angle.begin.regexp"
258
+ }
259
+ },
260
+ "endCaptures": {
261
+ "0": {
262
+ "name": "punctuation.definition.named-group.bracket.angle.end.regexp"
263
+ }
264
+ }
265
+ },
266
+ {
267
+ "contentName": "entity.group.name.regexp",
268
+ "begin": "\\G'",
269
+ "end": "'",
270
+ "beginCaptures": {
271
+ "0": {
272
+ "name": "punctuation.definition.named-group.quote.single.begin.regexp"
273
+ }
274
+ },
275
+ "endCaptures": {
276
+ "0": {
277
+ "name": "punctuation.definition.named-group.quote.single.end.regexp"
278
+ }
279
+ }
280
+ },
281
+ {
282
+ "include": "#main"
283
+ }
284
+ ],
285
+ "beginCaptures": {
286
+ "0": {
287
+ "name": "punctuation.definition.group.begin.regexp"
288
+ }
289
+ },
290
+ "endCaptures": {
291
+ "0": {
292
+ "name": "punctuation.definition.group.end.regexp"
293
+ }
294
+ }
295
+ },
296
+ {
297
+ "name": "meta.group.non-capturing.regexp",
298
+ "begin": "(\\(\\?)((?:y{[\\w]+}|[-A-Za-z^])*)(:)",
299
+ "end": "\\)",
300
+ "patterns": [
301
+ {
302
+ "include": "#main"
303
+ }
304
+ ],
305
+ "beginCaptures": {
306
+ "1": {
307
+ "name": "punctuation.definition.group.begin.regexp"
308
+ },
309
+ "2": {
310
+ "patterns": [
311
+ {
312
+ "include": "source.regexp#scopedModifiers"
313
+ }
314
+ ]
315
+ },
316
+ "3": {
317
+ "name": "punctuation.separator.colon.regexp"
318
+ }
319
+ },
320
+ "endCaptures": {
321
+ "0": {
322
+ "name": "punctuation.definition.group.end.regexp"
323
+ }
324
+ }
325
+ },
326
+ {
327
+ "name": "meta.group.atomic.regexp",
328
+ "begin": "\\(\\?\u003e",
329
+ "end": "\\)",
330
+ "patterns": [
331
+ {
332
+ "include": "#main"
333
+ }
334
+ ],
335
+ "beginCaptures": {
336
+ "0": {
337
+ "name": "punctuation.definition.group.begin.regexp"
338
+ }
339
+ },
340
+ "endCaptures": {
341
+ "0": {
342
+ "name": "punctuation.definition.group.end.regexp"
343
+ }
344
+ }
345
+ },
346
+ {
347
+ "name": "meta.group.script-run.regexp",
348
+ "begin": "(\\(\\*)((?:atomic_)?script_run|a?sr)(:)",
349
+ "end": "\\)",
350
+ "patterns": [
351
+ {
352
+ "include": "#main"
353
+ }
354
+ ],
355
+ "beginCaptures": {
356
+ "1": {
357
+ "name": "punctuation.definition.group.begin.regexp"
358
+ },
359
+ "2": {
360
+ "name": "keyword.control.verb.regexp"
361
+ },
362
+ "3": {
363
+ "name": "punctuation.separator.colon.regexp"
364
+ }
365
+ },
366
+ "endCaptures": {
367
+ "0": {
368
+ "name": "punctuation.definition.group.end.regexp"
369
+ }
370
+ }
371
+ },
372
+ {
373
+ "name": "meta.group.callout.contents.regexp",
374
+ "begin": "(\\(\\?{1,2})({)",
375
+ "end": "(?x)\n(}) # Last closing bracket\n((\\[)([_A-Za-z][_A-Za-z0-9]*)(\\]))? # [tag]\n(X|\u003c|\u003e)? # Callout direction\n(?:[^\\)]*) # Silently skip unexpected characters\n(\\)) # Closing bracket",
376
+ "patterns": [
377
+ {
378
+ "include": "#calloutBrackets"
379
+ },
380
+ {
381
+ "include": "#main"
382
+ }
383
+ ],
384
+ "beginCaptures": {
385
+ "1": {
386
+ "name": "punctuation.definition.group.begin.regexp"
387
+ },
388
+ "2": {
389
+ "name": "punctuation.definition.bracket.curly.begin.regexp"
390
+ }
391
+ },
392
+ "endCaptures": {
393
+ "1": {
394
+ "name": "punctuation.definition.bracket.curly.end.regexp"
395
+ },
396
+ "2": {
397
+ "name": "entity.name.tag.callout-tag.regexp"
398
+ },
399
+ "3": {
400
+ "name": "punctuation.definition.callout-tag.begin.regexp"
401
+ },
402
+ "4": {
403
+ "name": "callout-tag.constant.other.regexp"
404
+ },
405
+ "5": {
406
+ "name": "punctuation.definition.callout-tag.end.regexp"
407
+ },
408
+ "6": {
409
+ "name": "constant.language.callout-direction.regexp"
410
+ },
411
+ "7": {
412
+ "name": "punctuation.definition.group.end.regexp"
413
+ }
414
+ }
415
+ },
416
+ {
417
+ "name": "meta.group.callout.regexp",
418
+ "begin": "(?x)\n(\\(\\*)\n([_A-Za-z][_A-Za-z0-9]*) # Name\n((\\[)([_A-Za-z][_A-Za-z0-9]*)(\\]))? # [tag]\n({)",
419
+ "end": "(?x)\n(})\n(?:[^\\)]*)\n(?:(\\))|(?=$))",
420
+ "patterns": [
421
+ {
422
+ "include": "#main"
423
+ },
424
+ {
425
+ "name": "variable.parameter.argument.regexp",
426
+ "match": "[-\\w]+"
427
+ }
428
+ ],
429
+ "beginCaptures": {
430
+ "1": {
431
+ "name": "punctuation.definition.group.begin.regexp"
432
+ },
433
+ "2": {
434
+ "name": "entity.name.callout.regexp"
435
+ },
436
+ "3": {
437
+ "name": "entity.name.tag.callout-tag.regexp"
438
+ },
439
+ "4": {
440
+ "name": "punctuation.definition.callout-tag.begin.regexp"
441
+ },
442
+ "5": {
443
+ "name": "callout-tag.constant.other.regexp"
444
+ },
445
+ "6": {
446
+ "name": "punctuation.definition.callout-tag.end.regexp"
447
+ },
448
+ "7": {
449
+ "name": "punctuation.definition.arguments.begin.regexp"
450
+ }
451
+ },
452
+ "endCaptures": {
453
+ "1": {
454
+ "name": "punctuation.definition.arguments.end.regexp"
455
+ },
456
+ "2": {
457
+ "name": "punctuation.definition.group.end.regexp"
458
+ }
459
+ }
460
+ },
461
+ {
462
+ "name": "meta.absent-function.regexp",
463
+ "begin": "(\\()(\\?~)(\\|)",
464
+ "end": "\\)",
465
+ "patterns": [
466
+ {
467
+ "name": "punctuation.separator.delimiter.pipe.regexp",
468
+ "match": "\\|"
469
+ },
470
+ {
471
+ "name": "variable.parameter.argument.regexp",
472
+ "match": "[-\\w]+"
473
+ },
474
+ {
475
+ "include": "#main"
476
+ }
477
+ ],
478
+ "beginCaptures": {
479
+ "1": {
480
+ "name": "punctuation.definition.group.begin.regexp"
481
+ },
482
+ "2": {
483
+ "name": "keyword.control.flow.regexp"
484
+ },
485
+ "3": {
486
+ "name": "punctuation.separator.delimiter.pipe.regexp"
487
+ }
488
+ },
489
+ "endCaptures": {
490
+ "0": {
491
+ "name": "punctuation.definition.group.end.regexp"
492
+ }
493
+ }
494
+ },
495
+ {
496
+ "name": "meta.group.regexp",
497
+ "begin": "\\(",
498
+ "end": "\\)",
499
+ "patterns": [
500
+ {
501
+ "include": "#main"
502
+ }
503
+ ],
504
+ "beginCaptures": {
505
+ "0": {
506
+ "name": "punctuation.definition.group.begin.regexp"
507
+ }
508
+ },
509
+ "endCaptures": {
510
+ "0": {
511
+ "name": "punctuation.definition.group.end.regexp"
512
+ }
513
+ }
514
+ }
515
+ ]
516
+ },
517
+ "main": {
518
+ "patterns": [
519
+ {
520
+ "include": "#comment"
521
+ },
522
+ {
523
+ "include": "source.regexp#comment"
524
+ },
525
+ {
526
+ "include": "source.regexp#variable"
527
+ },
528
+ {
529
+ "include": "source.regexp#anchor"
530
+ },
531
+ {
532
+ "include": "source.regexp#escape"
533
+ },
534
+ {
535
+ "include": "source.regexp#wildcard"
536
+ },
537
+ {
538
+ "include": "source.regexp#alternation"
539
+ },
540
+ {
541
+ "include": "source.regexp#quantifier"
542
+ },
543
+ {
544
+ "include": "#assertion"
545
+ },
546
+ {
547
+ "include": "#conditional"
548
+ },
549
+ {
550
+ "include": "#group"
551
+ },
552
+ {
553
+ "include": "source.regexp#class"
16
554
  }
17
555
  ]
18
556
  }