tm-grammars 1.17.4 → 1.17.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/README.md +86 -86
  2. package/grammars/actionscript-3.json +12 -12
  3. package/grammars/angular-expression.json +20 -20
  4. package/grammars/angular-let-declaration.json +1 -1
  5. package/grammars/angular-ts.json +244 -244
  6. package/grammars/apex.json +61 -61
  7. package/grammars/apl.json +8 -8
  8. package/grammars/applescript.json +1 -1
  9. package/grammars/ara.json +6 -6
  10. package/grammars/asm.json +10 -10
  11. package/grammars/astro.json +2 -2
  12. package/grammars/ballerina.json +72 -72
  13. package/grammars/bicep.json +5 -5
  14. package/grammars/blade.json +16 -16
  15. package/grammars/c.json +11 -11
  16. package/grammars/clarity.json +25 -25
  17. package/grammars/codeql.json +182 -182
  18. package/grammars/coffee.json +9 -9
  19. package/grammars/common-lisp.json +2 -2
  20. package/grammars/cpp.json +3 -3
  21. package/grammars/crystal.json +4 -4
  22. package/grammars/csharp.json +93 -93
  23. package/grammars/css.json +15 -15
  24. package/grammars/dax.json +7 -7
  25. package/grammars/dream-maker.json +6 -6
  26. package/grammars/elixir.json +1 -1
  27. package/grammars/emacs-lisp.json +74 -74
  28. package/grammars/fsharp.json +48 -48
  29. package/grammars/gdscript.json +12 -12
  30. package/grammars/gleam.json +5 -5
  31. package/grammars/glimmer-js.json +1 -1
  32. package/grammars/glimmer-ts.json +1 -1
  33. package/grammars/gnuplot.json +1 -1
  34. package/grammars/go.json +1 -1
  35. package/grammars/groovy.json +2 -2
  36. package/grammars/hack.json +8 -8
  37. package/grammars/haskell.json +64 -62
  38. package/grammars/haxe.json +1 -1
  39. package/grammars/hcl.json +4 -4
  40. package/grammars/html.json +1 -1
  41. package/grammars/imba.json +57 -57
  42. package/grammars/java.json +5 -5
  43. package/grammars/javascript.json +252 -252
  44. package/grammars/jison.json +7 -7
  45. package/grammars/json.json +2 -2
  46. package/grammars/jsonc.json +2 -2
  47. package/grammars/jsonl.json +2 -2
  48. package/grammars/jsx.json +252 -252
  49. package/grammars/julia.json +20 -20
  50. package/grammars/lean.json +1 -1
  51. package/grammars/less.json +8 -8
  52. package/grammars/markdown.json +5 -5
  53. package/grammars/marko.json +1 -1
  54. package/grammars/matlab.json +7 -7
  55. package/grammars/mdc.json +6 -6
  56. package/grammars/mdx.json +2 -2
  57. package/grammars/mojo.json +93 -93
  58. package/grammars/narrat.json +2 -2
  59. package/grammars/nim.json +5 -5
  60. package/grammars/objective-c.json +7 -7
  61. package/grammars/objective-cpp.json +13 -13
  62. package/grammars/ocaml.json +93 -93
  63. package/grammars/php.json +10 -10
  64. package/grammars/puppet.json +4 -4
  65. package/grammars/purescript.json +1 -1
  66. package/grammars/python.json +92 -92
  67. package/grammars/r.json +5 -5
  68. package/grammars/racket.json +18 -15
  69. package/grammars/razor.json +15 -15
  70. package/grammars/regexp.json +8 -8
  71. package/grammars/rel.json +1 -1
  72. package/grammars/riscv.json +1 -1
  73. package/grammars/ruby.json +4 -4
  74. package/grammars/scala.json +2 -2
  75. package/grammars/scheme.json +11 -11
  76. package/grammars/scss.json +4 -4
  77. package/grammars/shellsession.json +1 -1
  78. package/grammars/stylus.json +4 -4
  79. package/grammars/svelte.json +6 -6
  80. package/grammars/swift.json +32 -32
  81. package/grammars/system-verilog.json +1 -1
  82. package/grammars/terraform.json +4 -4
  83. package/grammars/toml.json +3 -3
  84. package/grammars/tsx.json +252 -252
  85. package/grammars/twig.json +4 -4
  86. package/grammars/typescript.json +244 -244
  87. package/grammars/typespec.json +30 -30
  88. package/grammars/typst.json +11 -11
  89. package/grammars/vhdl.json +37 -37
  90. package/grammars/vue.json +2 -2
  91. package/grammars/vyper.json +112 -112
  92. package/grammars/wolfram.json +329 -329
  93. package/grammars/yaml.json +17 -17
  94. package/index.js +91 -91
  95. package/package.json +1 -1
package/grammars/r.json CHANGED
@@ -292,7 +292,7 @@
292
292
  "name": "keyword.control.r"
293
293
  }
294
294
  },
295
- "match": "((?:`[^`\\\\]*(?:\\\\.[^`\\\\]*)*`)|(?:[[:alpha:].][[:alnum:]._]*))\\s*(<?<-|=(?!=))\\s*(function|\\\\)(?!\\w)",
295
+ "match": "((?:`[^`\\\\]*(?:\\\\.[^`\\\\]*)*`)|(?:[A-Za-z.][0-9A-Za-z._]*))\\s*(<?<-|=(?!=))\\s*(function|\\\\)(?!\\w)",
296
296
  "name": "meta.function.r",
297
297
  "patterns": [
298
298
  {
@@ -341,7 +341,7 @@
341
341
  "name": "keyword.operator.assignment.r"
342
342
  }
343
343
  },
344
- "match": "([[:alpha:].][[:alnum:]._]*)\\s*(=)(?=[^=])"
344
+ "match": "([A-Za-z.][0-9A-Za-z._]*)\\s*(=)(?=[^=])"
345
345
  },
346
346
  {
347
347
  "captures": {
@@ -355,15 +355,15 @@
355
355
  "match": "(`[^`]+`)\\s*(=)(?=[^=])"
356
356
  },
357
357
  {
358
- "match": "\\b([\\d_][[:alnum:]._]+)\\b",
358
+ "match": "\\b([\\d_][0-9A-Za-z._]+)\\b",
359
359
  "name": "invalid.illegal.variable.other.r"
360
360
  },
361
361
  {
362
- "match": "\\b([[:alnum:]_]+)(?=::)",
362
+ "match": "\\b([0-9A-Za-z_]+)(?=::)",
363
363
  "name": "entity.namespace.r"
364
364
  },
365
365
  {
366
- "match": "\\b([[:alnum:]._]+)\\b",
366
+ "match": "\\b([0-9A-Za-z._]+)\\b",
367
367
  "name": "variable.other.r"
368
368
  },
369
369
  {
@@ -1,5 +1,8 @@
1
1
  {
2
2
  "displayName": "Racket",
3
+ "filetypes": [
4
+ "rkt"
5
+ ],
3
6
  "name": "racket",
4
7
  "patterns": [
5
8
  {
@@ -53,7 +56,7 @@
53
56
  }
54
57
  },
55
58
  {
56
- "begin": "(?x) (?<=[(\\[{]) \\s*\n(\\#% | \\\\\\ | [^\\#()\\[\\]{}\",'`;\\s])\n",
59
+ "begin": "(?x) (?<=[(\\[{]) \\s*\n (\\#% | \\\\\\ | [^\\#()\\[\\]{}\",'`;\\s])\n",
57
60
  "beginCaptures": {
58
61
  "1": {
59
62
  "name": "variable.parameter.racket"
@@ -95,7 +98,7 @@
95
98
  }
96
99
  },
97
100
  {
98
- "begin": "(?x) (?<=[(\\[{]) \\s*\n(\\#% | \\\\\\ | [^\\#()\\[\\]{}\",'`;\\s])\n",
101
+ "begin": "(?x) (?<=[(\\[{]) \\s*\n (\\#% | \\\\\\ | [^\\#()\\[\\]{}\",'`;\\s])\n",
99
102
  "beginCaptures": {
100
103
  "1": {
101
104
  "name": "variable.other.member.racket"
@@ -190,7 +193,7 @@
190
193
  }
191
194
  },
192
195
  {
193
- "begin": "(?x) (?<=[(\\[{]) \\s*\n(\\#% | \\\\\\ | [^\\#()\\[\\]{}\",'`;\\s])\n",
196
+ "begin": "(?x) (?<=[(\\[{]) \\s*\n (\\#% | \\\\\\ | [^\\#()\\[\\]{}\",'`;\\s])\n",
194
197
  "beginCaptures": {
195
198
  "1": {
196
199
  "name": "entity.name.constant"
@@ -219,7 +222,7 @@
219
222
  "bool": {
220
223
  "patterns": [
221
224
  {
222
- "match": "(?x)\n(?<=^|[()\\[\\]{}\",'`;\\s]) \\#\n(?: [tT](?: rue)?|[fF](?: alse)?)\n(?=[()\\[\\]{}\",'`;\\s])\n",
225
+ "match": "(?x)\n (?<=^|[()\\[\\]{}\",'`;\\s]) \\#\n (?: [tT](?: rue)?|[fF](?: alse)?)\n (?=[()\\[\\]{}\",'`;\\s])\n",
223
226
  "name": "constant.language.racket"
224
227
  }
225
228
  ]
@@ -279,7 +282,7 @@
279
282
  "character": {
280
283
  "patterns": [
281
284
  {
282
- "match": "(?x) \\#\\\\\n(?:\n(?: [0-7]{3}) |\n(?: u[0-9a-fA-F]{1,4}) |\n(?: U[0-9a-fA-F]{1,6}) |\n(?:\n(?:\nnull? | newline | linefeed | backspace | v?tab | page |\nreturn | space | rubout | (?: [^\\w\\s] | \\d)\n)\n(?![a-zA-Z])\n) |\n(?: [^\\W\\d](?=[\\W\\d]) | \\W )\n)\n",
285
+ "match": "(?x) \\#\\\\\n (?:\n (?: [0-7]{3}) |\n (?: u[0-9a-fA-F]{1,4}) |\n (?: U[0-9a-fA-F]{1,6}) |\n (?:\n (?:\n null? | newline | linefeed | backspace | v?tab | page |\n return | space | rubout | (?: [^\\w\\s] | \\d)\n )\n (?![a-zA-Z])\n ) |\n (?: [^\\W\\d](?=[\\W\\d]) | \\W )\n )\n",
283
286
  "name": "string.quoted.single.racket"
284
287
  }
285
288
  ]
@@ -684,7 +687,7 @@
684
687
  "include": "#escape-char-base"
685
688
  },
686
689
  {
687
- "match": "(?x) \\\\\n(?:\n(?: u[\\da-fA-F]{1,4}) |\n(?: U[\\da-fA-F]{1,8})\n)\n",
690
+ "match": "(?x) \\\\\n (?:\n (?: u[\\da-fA-F]{1,4}) |\n (?: U[\\da-fA-F]{1,8})\n )\n",
688
691
  "name": "constant.character.escape.racket"
689
692
  },
690
693
  {
@@ -695,7 +698,7 @@
695
698
  "escape-char-base": {
696
699
  "patterns": [
697
700
  {
698
- "match": "(?x) \\\\\n(?:\n(?: [abtnvfre\"'\\\\]) |\n(?: [0-7]{1,3}) |\n(?: x[\\da-fA-F]{1,2})\n)\n",
701
+ "match": "(?x) \\\\\n (?:\n (?: [abtnvfre\"'\\\\]) |\n (?: [0-7]{1,3}) |\n (?: x[\\da-fA-F]{1,2})\n )\n",
699
702
  "name": "constant.character.escape.racket"
700
703
  }
701
704
  ]
@@ -741,7 +744,7 @@
741
744
  "format-string": {
742
745
  "patterns": [
743
746
  {
744
- "match": "(?x) ~\n(?:\n(?: \\.?[n%aAsSvV]) |\n[cCbBoOxX~\\s]\n)\n",
747
+ "match": "(?x) ~\n(?:\n (?: \\.?[n%aAsSvV]) |\n [cCbBoOxX~\\s]\n)\n",
745
748
  "name": "constant.other.placeholder.racket"
746
749
  }
747
750
  ]
@@ -779,7 +782,7 @@
779
782
  "name": "entity.name.function.racket"
780
783
  },
781
784
  {
782
- "begin": "(?x) (?<=[(\\[{]) \\s*\n(\\#% | \\\\\\ | [^\\#()\\[\\]{}\",'`;\\s])\n",
785
+ "begin": "(?x) (?<=[(\\[{]) \\s*\n (\\#% | \\\\\\ | [^\\#()\\[\\]{}\",'`;\\s])\n",
783
786
  "beginCaptures": {
784
787
  "1": {
785
788
  "name": "entity.name.function.racket"
@@ -1085,11 +1088,11 @@
1085
1088
  "include": "#list"
1086
1089
  },
1087
1090
  {
1088
- "match": "(?x) (?<=^|[()\\[\\]{}\\\",'`;\\s])\n(?: \\#[cC][iI] | \\#[cC][sS])\n(?=\\s)\n",
1091
+ "match": "(?x) (?<=^|[()\\[\\]{}\\\",'`;\\s])\n (?: \\#[cC][iI] | \\#[cC][sS])\n(?=\\s)\n",
1089
1092
  "name": "keyword.control.racket"
1090
1093
  },
1091
1094
  {
1092
- "match": "(?x) (?<=^|[()\\[\\]{}\\\",'`;\\s])\n(?: \\#&)\n",
1095
+ "match": "(?x) (?<=^|[()\\[\\]{}\\\",'`;\\s])\n (?: \\#&)\n",
1093
1096
  "name": "support.function.racket"
1094
1097
  }
1095
1098
  ]
@@ -1113,7 +1116,7 @@
1113
1116
  "number-bin": {
1114
1117
  "patterns": [
1115
1118
  {
1116
- "match": "(?x)\n(?<=^|[()\\[\\]{}\",'`;\\s])\n(?: \\#[bB](?: \\#[eEiI])? | (?: \\#[eEiI])?\\#[bB])\n(?:\n(?:\n(?:\n(?:\n(?:\n(?: [+-]? [01]+ \\#* \\/ [01]+ \\#*)|\n(?: [+-]? [01]+ \\. [01]+ \\#*) |\n(?: [+-]? [01]+ \\#* \\. \\#*) |\n(?: [+-]? [01]+ \\#*)\n) (?: [sldefSLDEF] [+-]? [01]+)?\n) |\n[+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n) @\n(?:\n(?:\n(?:\n(?: [+-]? [01]+ \\#* \\/ [01]+ \\#*)|\n(?: [+-]? [01]+ \\. [01]+ \\#*) |\n(?: [+-]? [01]+ \\#* \\. \\#*) |\n(?: [+-]? [01]+ \\#*)\n) (?: [sldefSLDEF] [+-]? [01]+)?\n) |\n(?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n)\n) |\n(?:\n(?:\n(?:\n(?:\n(?: [+-]? [01]+ \\#* \\/ [01]+ \\#*)|\n(?: [+-]? [01]+ \\. [01]+ \\#*) |\n(?: [+-]? [01]+ \\#* \\. \\#*) |\n(?: [+-]? [01]+ \\#*)\n) (?: [sldefSLDEF] [+-]? [01]+)?\n) |\n[+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n)? [+-]\n(?:\n(?:\n(?:\n(?: [+-]? [01]+ \\#* \\/ [01]+ \\#*)|\n(?: [+-]? [01]+ \\. [01]+ \\#*) |\n(?: [+-]? [01]+ \\#* \\. \\#*) |\n(?: [+-]? [01]+ \\#*)\n) (?: [sldefSLDEF] [+-]? [01]+)?\n) |\n(?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n) i\n) |\n[+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n(?:\n(?: [+-]? [01]+ \\#* \\/ [01]+ \\#*)|\n(?: [+-]? [01]* \\. [01]+ \\#*) |\n(?: [+-]? [01]+ \\#* \\. \\#*) |\n(?: [+-]? [01]+ \\#*)\n) (?: [sldefSLDEF] [+-]? [01]+)?\n) (?=$|[()\\[\\]{}\",'`;\\s])\n",
1119
+ "match": "(?x)\n (?<=^|[()\\[\\]{}\",'`;\\s])\n (?: \\#[bB](?: \\#[eEiI])? | (?: \\#[eEiI])?\\#[bB])\n (?:\n (?:\n (?:\n (?:\n (?:\n (?: [+-]? [01]+ \\#* \\/ [01]+ \\#*)|\n (?: [+-]? [01]+ \\. [01]+ \\#*) |\n (?: [+-]? [01]+ \\#* \\. \\#*) |\n (?: [+-]? [01]+ \\#*)\n ) (?: [sldefSLDEF] [+-]? [01]+)?\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n ) @\n (?:\n (?:\n (?:\n (?: [+-]? [01]+ \\#* \\/ [01]+ \\#*)|\n (?: [+-]? [01]+ \\. [01]+ \\#*) |\n (?: [+-]? [01]+ \\#* \\. \\#*) |\n (?: [+-]? [01]+ \\#*)\n ) (?: [sldefSLDEF] [+-]? [01]+)?\n ) |\n (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n )\n ) |\n (?:\n (?:\n (?:\n (?:\n (?: [+-]? [01]+ \\#* \\/ [01]+ \\#*)|\n (?: [+-]? [01]+ \\. [01]+ \\#*) |\n (?: [+-]? [01]+ \\#* \\. \\#*) |\n (?: [+-]? [01]+ \\#*)\n ) (?: [sldefSLDEF] [+-]? [01]+)?\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n )? [+-]\n (?:\n (?:\n (?:\n (?: [+-]? [01]+ \\#* \\/ [01]+ \\#*)|\n (?: [+-]? [01]+ \\. [01]+ \\#*) |\n (?: [+-]? [01]+ \\#* \\. \\#*) |\n (?: [+-]? [01]+ \\#*)\n ) (?: [sldefSLDEF] [+-]? [01]+)?\n ) |\n (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n ) i\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n (?:\n (?: [+-]? [01]+ \\#* \\/ [01]+ \\#*)|\n (?: [+-]? [01]* \\. [01]+ \\#*) |\n (?: [+-]? [01]+ \\#* \\. \\#*) |\n (?: [+-]? [01]+ \\#*)\n ) (?: [sldefSLDEF] [+-]? [01]+)?\n ) (?=$|[()\\[\\]{}\",'`;\\s])\n",
1117
1120
  "name": "constant.numeric.bin.racket"
1118
1121
  }
1119
1122
  ]
@@ -1121,7 +1124,7 @@
1121
1124
  "number-dec": {
1122
1125
  "patterns": [
1123
1126
  {
1124
- "match": "(?x)\n(?<=^|[()\\[\\]{}\",'`;\\s])\n(?: (?: \\#[dD])?(?: \\#[eEiI])? | (?: \\#[eEiI])?(?: \\#[dD])?)\n(?:\n(?:\n(?:\n(?:\n(?:\n(?: [+-]? \\d+ \\#* \\/ \\d+ \\#*)|\n(?: [+-]? \\d+ \\. \\d+ \\#*) |\n(?: [+-]? \\d+ \\#* \\. \\#*) |\n(?: [+-]? \\d+ \\#*)\n) (?: [sldefSLDEF] [+-]? \\d+)?\n) |\n[+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n) @\n(?:\n(?:\n(?:\n(?: [+-]? \\d+ \\#* \\/ \\d+ \\#*)|\n(?: [+-]? \\d+ \\. \\d+ \\#*) |\n(?: [+-]? \\d+ \\#* \\. \\#*) |\n(?: [+-]? \\d+ \\#*)\n) (?: [sldefSLDEF] [+-]? \\d+)?\n) |\n[+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n)\n) |\n(?:\n(?:\n(?:\n(?:\n(?: [+-]? \\d+ \\#* \\/ \\d+ \\#*)|\n(?: [+-]? \\d+ \\. \\d+ \\#*) |\n(?: [+-]? \\d+ \\#* \\. \\#*) |\n(?: [+-]? \\d+ \\#*)\n) (?: [sldefSLDEF] [+-]? \\d+)?\n) |\n[+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n)? [+-]\n(?:\n(?:\n(?:\n(?: [+-]? \\d+ \\#* \\/ \\d+ \\#*)|\n(?: [+-]? \\d+ \\. \\d+ \\#*) |\n(?: [+-]? \\d+ \\#* \\. \\#*) |\n(?: [+-]? \\d+ \\#*)\n) (?: [sldefSLDEF] [+-]? \\d+)?\n) |\n(?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n) i\n) |\n[+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n(?:\n(?: [+-]? \\d+ \\#* \\/ \\d+ \\#*)|\n(?: [+-]? \\d* \\. \\d+ \\#*) |\n(?: [+-]? \\d+ \\#* \\. \\#*) |\n(?: [+-]? \\d+ \\#*)\n) (?: [sldefSLDEF] [+-]? \\d+)?\n) (?=$|[()\\[\\]{}\",'`;\\s])\n",
1127
+ "match": "(?x)\n (?<=^|[()\\[\\]{}\",'`;\\s])\n (?: (?: \\#[dD])?(?: \\#[eEiI])? | (?: \\#[eEiI])?(?: \\#[dD])?)\n (?:\n (?:\n (?:\n (?:\n (?:\n (?: [+-]? \\d+ \\#* \\/ \\d+ \\#*)|\n (?: [+-]? \\d+ \\. \\d+ \\#*) |\n (?: [+-]? \\d+ \\#* \\. \\#*) |\n (?: [+-]? \\d+ \\#*)\n ) (?: [sldefSLDEF] [+-]? \\d+)?\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n ) @\n (?:\n (?:\n (?:\n (?: [+-]? \\d+ \\#* \\/ \\d+ \\#*)|\n (?: [+-]? \\d+ \\. \\d+ \\#*) |\n (?: [+-]? \\d+ \\#* \\. \\#*) |\n (?: [+-]? \\d+ \\#*)\n ) (?: [sldefSLDEF] [+-]? \\d+)?\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n )\n ) |\n (?:\n (?:\n (?:\n (?:\n (?: [+-]? \\d+ \\#* \\/ \\d+ \\#*)|\n (?: [+-]? \\d+ \\. \\d+ \\#*) |\n (?: [+-]? \\d+ \\#* \\. \\#*) |\n (?: [+-]? \\d+ \\#*)\n ) (?: [sldefSLDEF] [+-]? \\d+)?\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n )? [+-]\n (?:\n (?:\n (?:\n (?: [+-]? \\d+ \\#* \\/ \\d+ \\#*)|\n (?: [+-]? \\d+ \\. \\d+ \\#*) |\n (?: [+-]? \\d+ \\#* \\. \\#*) |\n (?: [+-]? \\d+ \\#*)\n ) (?: [sldefSLDEF] [+-]? \\d+)?\n ) |\n (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n ) i\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n (?:\n (?: [+-]? \\d+ \\#* \\/ \\d+ \\#*)|\n (?: [+-]? \\d* \\. \\d+ \\#*) |\n (?: [+-]? \\d+ \\#* \\. \\#*) |\n (?: [+-]? \\d+ \\#*)\n ) (?: [sldefSLDEF] [+-]? \\d+)?\n ) (?=$|[()\\[\\]{}\",'`;\\s])\n",
1125
1128
  "name": "constant.numeric.racket"
1126
1129
  }
1127
1130
  ]
@@ -1129,7 +1132,7 @@
1129
1132
  "number-hex": {
1130
1133
  "patterns": [
1131
1134
  {
1132
- "match": "(?x)\n(?<=^|[()\\[\\]{}\",'`;\\s])\n(?: \\#[xX](?: \\#[eEiI])? | (?: \\#[eEiI])?\\#[xX])\n(?:\n(?:\n(?:\n(?:\n(?:\n(?: [+-]? [0-9a-fA-F]+ \\#* \\/ [0-9a-fA-F]+ \\#*)|\n(?: [+-]? [0-9a-fA-F] \\. [0-9a-fA-F]+ \\#*) |\n(?: [+-]? [0-9a-fA-F]+ \\#* \\. \\#*) |\n(?: [+-]? [0-9a-fA-F]+ \\#*)\n) (?: [slSL] [+-]? [0-9a-fA-F]+)?\n) |\n[+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n) @\n(?:\n(?:\n(?:\n(?: [+-]? [0-9a-fA-F]+ \\#* \\/ [0-9a-fA-F]+ \\#*)|\n(?: [+-]? [0-9a-fA-F]+ \\. [0-9a-fA-F]+ \\#*) |\n(?: [+-]? [0-9a-fA-F]+ \\#* \\. \\#*) |\n(?: [+-]? [0-9a-fA-F]+ \\#*)\n) (?: [slSL] [+-]? [0-9a-fA-F]+)?\n) |\n(?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n)\n) |\n(?:\n(?:\n(?:\n(?:\n(?: [+-]? [0-9a-fA-F]+ \\#* \\/ [0-9a-fA-F]+ \\#*)|\n(?: [+-]? [0-9a-fA-F]+ \\. [0-9a-fA-F]+ \\#*) |\n(?: [+-]? [0-9a-fA-F]+ \\#* \\. \\#*) |\n(?: [+-]? [0-9a-fA-F]+ \\#*)\n) (?: [slSL] [+-]? [0-9a-fA-F]+)?\n) |\n[+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n)? [+-]\n(?:\n(?:\n(?:\n(?: [+-]? [0-9a-fA-F]+ \\#* \\/ [0-9a-fA-F]+ \\#*)|\n(?: [+-]? [0-9a-fA-F]+ \\. [0-9a-fA-F]+ \\#*) |\n(?: [+-]? [0-9a-fA-F]+ \\#* \\. \\#*) |\n(?: [+-]? [0-9a-fA-F]+ \\#*)\n) (?: [slSL] [+-]? [0-9a-fA-F]+)?\n) |\n(?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n) i\n) |\n[+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n(?:\n(?: [+-]? [0-9a-fA-F]+ \\#* \\/ [0-9a-fA-F]+ \\#*)|\n(?: [+-]? [0-9a-fA-F]* \\. [0-9a-fA-F]+ \\#*) |\n(?: [+-]? [0-9a-fA-F]+ \\#* \\. \\#*) |\n(?: [+-]? [0-9a-fA-F]+ \\#*)\n) (?: [slSL] [+-]? [0-9a-fA-F]+)?\n) (?=$|[()\\[\\]{}\",'`;\\s])\n",
1135
+ "match": "(?x)\n (?<=^|[()\\[\\]{}\",'`;\\s])\n (?: \\#[xX](?: \\#[eEiI])? | (?: \\#[eEiI])?\\#[xX])\n (?:\n (?:\n (?:\n (?:\n (?:\n (?: [+-]? [0-9a-fA-F]+ \\#* \\/ [0-9a-fA-F]+ \\#*)|\n (?: [+-]? [0-9a-fA-F] \\. [0-9a-fA-F]+ \\#*) |\n (?: [+-]? [0-9a-fA-F]+ \\#* \\. \\#*) |\n (?: [+-]? [0-9a-fA-F]+ \\#*)\n ) (?: [slSL] [+-]? [0-9a-fA-F]+)?\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n ) @\n (?:\n (?:\n (?:\n (?: [+-]? [0-9a-fA-F]+ \\#* \\/ [0-9a-fA-F]+ \\#*)|\n (?: [+-]? [0-9a-fA-F]+ \\. [0-9a-fA-F]+ \\#*) |\n (?: [+-]? [0-9a-fA-F]+ \\#* \\. \\#*) |\n (?: [+-]? [0-9a-fA-F]+ \\#*)\n ) (?: [slSL] [+-]? [0-9a-fA-F]+)?\n ) |\n (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n )\n ) |\n (?:\n (?:\n (?:\n (?:\n (?: [+-]? [0-9a-fA-F]+ \\#* \\/ [0-9a-fA-F]+ \\#*)|\n (?: [+-]? [0-9a-fA-F]+ \\. [0-9a-fA-F]+ \\#*) |\n (?: [+-]? [0-9a-fA-F]+ \\#* \\. \\#*) |\n (?: [+-]? [0-9a-fA-F]+ \\#*)\n ) (?: [slSL] [+-]? [0-9a-fA-F]+)?\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n )? [+-]\n (?:\n (?:\n (?:\n (?: [+-]? [0-9a-fA-F]+ \\#* \\/ [0-9a-fA-F]+ \\#*)|\n (?: [+-]? [0-9a-fA-F]+ \\. [0-9a-fA-F]+ \\#*) |\n (?: [+-]? [0-9a-fA-F]+ \\#* \\. \\#*) |\n (?: [+-]? [0-9a-fA-F]+ \\#*)\n ) (?: [slSL] [+-]? [0-9a-fA-F]+)?\n ) |\n (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n ) i\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n (?:\n (?: [+-]? [0-9a-fA-F]+ \\#* \\/ [0-9a-fA-F]+ \\#*)|\n (?: [+-]? [0-9a-fA-F]* \\. [0-9a-fA-F]+ \\#*) |\n (?: [+-]? [0-9a-fA-F]+ \\#* \\. \\#*) |\n (?: [+-]? [0-9a-fA-F]+ \\#*)\n ) (?: [slSL] [+-]? [0-9a-fA-F]+)?\n ) (?=$|[()\\[\\]{}\",'`;\\s])\n",
1133
1136
  "name": "constant.numeric.hex.racket"
1134
1137
  }
1135
1138
  ]
@@ -1137,7 +1140,7 @@
1137
1140
  "number-oct": {
1138
1141
  "patterns": [
1139
1142
  {
1140
- "match": "(?x)\n(?<=^|[()\\[\\]{}\",'`;\\s])\n(?: \\#[oO](?: \\#[eEiI])? | (?: \\#[eEiI])?\\#[oO])\n(?:\n(?:\n(?:\n(?:\n(?:\n(?: [+-]? [0-7]+ \\#* \\/ [0-7]+ \\#*)|\n(?: [+-]? [0-7]+ \\. [0-7]+ \\#*) |\n(?: [+-]? [0-7]+ \\#* \\. \\#*) |\n(?: [+-]? [0-7]+ \\#*)\n) (?: [sldefSLDEF] [+-]? [0-7]+)?\n) |\n[+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n) @\n(?:\n(?:\n(?:\n(?: [+-]? [0-7]+ \\#* \\/ [0-7]+ \\#*)|\n(?: [+-]? [0-7]+ \\. [0-7]+ \\#*) |\n(?: [+-]? [0-7]+ \\#* \\. \\#*) |\n(?: [+-]? [0-7]+ \\#*)\n) (?: [sldefSLDEF] [+-]? [0-7]+)?\n) |\n[+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n)\n) |\n(?:\n(?:\n(?:\n(?:\n(?: [+-]? [0-7]+ \\#* \\/ [0-7]+ \\#*)|\n(?: [+-]? [0-7]+ \\. [0-7]+ \\#*) |\n(?: [+-]? [0-7]+ \\#* \\. \\#*) |\n(?: [+-]? [0-7]+ \\#*)\n) (?: [sldefSLDEF] [+-]? [0-7]+)?\n) |\n[+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n)? [+-]\n(?:\n(?:\n(?:\n(?: [+-]? [0-7]+ \\#* \\/ [0-7]+ \\#*)|\n(?: [+-]? [0-7]+ \\. [0-7]+ \\#*) |\n(?: [+-]? [0-7]+ \\#* \\. \\#*) |\n(?: [+-]? [0-7]+ \\#*)\n) (?: [sldefSLDEF] [+-]? [0-7]+)?\n) |\n(?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n) i\n) |\n[+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n(?:\n(?: [+-]? [0-7]+ \\#* \\/ [0-7]+ \\#*)|\n(?: [+-]? [0-7]* \\. [0-7]+ \\#*) |\n(?: [+-]? [0-7]+ \\#* \\. \\#*) |\n(?: [+-]? [0-7]+ \\#*)\n) (?: [sldefSLDEF] [+-]? [0-7]+)?\n) (?=$|[()\\[\\]{}\",'`;\\s])\n",
1143
+ "match": "(?x)\n (?<=^|[()\\[\\]{}\",'`;\\s])\n (?: \\#[oO](?: \\#[eEiI])? | (?: \\#[eEiI])?\\#[oO])\n (?:\n (?:\n (?:\n (?:\n (?:\n (?: [+-]? [0-7]+ \\#* \\/ [0-7]+ \\#*)|\n (?: [+-]? [0-7]+ \\. [0-7]+ \\#*) |\n (?: [+-]? [0-7]+ \\#* \\. \\#*) |\n (?: [+-]? [0-7]+ \\#*)\n ) (?: [sldefSLDEF] [+-]? [0-7]+)?\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n ) @\n (?:\n (?:\n (?:\n (?: [+-]? [0-7]+ \\#* \\/ [0-7]+ \\#*)|\n (?: [+-]? [0-7]+ \\. [0-7]+ \\#*) |\n (?: [+-]? [0-7]+ \\#* \\. \\#*) |\n (?: [+-]? [0-7]+ \\#*)\n ) (?: [sldefSLDEF] [+-]? [0-7]+)?\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n )\n ) |\n (?:\n (?:\n (?:\n (?:\n (?: [+-]? [0-7]+ \\#* \\/ [0-7]+ \\#*)|\n (?: [+-]? [0-7]+ \\. [0-7]+ \\#*) |\n (?: [+-]? [0-7]+ \\#* \\. \\#*) |\n (?: [+-]? [0-7]+ \\#*)\n ) (?: [sldefSLDEF] [+-]? [0-7]+)?\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n )? [+-]\n (?:\n (?:\n (?:\n (?: [+-]? [0-7]+ \\#* \\/ [0-7]+ \\#*)|\n (?: [+-]? [0-7]+ \\. [0-7]+ \\#*) |\n (?: [+-]? [0-7]+ \\#* \\. \\#*) |\n (?: [+-]? [0-7]+ \\#*)\n ) (?: [sldefSLDEF] [+-]? [0-7]+)?\n ) |\n (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n ) i\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n (?:\n (?: [+-]? [0-7]+ \\#* \\/ [0-7]+ \\#*)|\n (?: [+-]? [0-7]* \\. [0-7]+ \\#*) |\n (?: [+-]? [0-7]+ \\#* \\. \\#*) |\n (?: [+-]? [0-7]+ \\#*)\n ) (?: [sldefSLDEF] [+-]? [0-7]+)?\n ) (?=$|[()\\[\\]{}\",'`;\\s])\n",
1141
1144
  "name": "constant.numeric.octal.racket"
1142
1145
  }
1143
1146
  ]
@@ -176,7 +176,7 @@
176
176
  "name": "entity.name.variable.local.cs"
177
177
  }
178
178
  },
179
- "match": "(?x)\n(?<type-name>\n(?:\n(?:\n(?:(?<identifier>@?[_[:alpha:]][_[:alnum:]]*)\\s*\\:\\:\\s*)?\n(?<name-and-type-args>\n\\g<identifier>\\s*\n(?<type-args>\\s*<(?:[^<>]|\\g<type-args>)+>\\s*)?\n)\n(?:\\s*\\.\\s*\\g<name-and-type-args>)* |\n(?<tuple>\\s*\\((?:[^\\(\\)]|\\g<tuple>)+\\))\n)\n(?:\\s*\\?\\s*)?\n(?:\\s*\\[(?:\\s*,\\s*)*\\]\\s*)*\n)\n)\\s*\n(?:(\\g<identifier>)\\b)?"
179
+ "match": "(?<type-name>(?:(?:(?:(?<identifier>@?[_A-Za-z][_0-9A-Za-z]*)\\s*\\:\\:\\s*)?(?<name-and-type-args>\\g<identifier>\\s*(?<type-args>\\s*<(?:[^<>]|\\g<type-args>)+>\\s*)?)(?:\\s*\\.\\s*\\g<name-and-type-args>)*|(?<tuple>\\s*\\((?:[^\\(\\)]|\\g<tuple>)+\\)))(?:\\s*\\?\\s*)?(?:\\s*\\[(?:\\s*,\\s*)*\\]\\s*)*))\\s*(?:(\\g<identifier>)\\b)?"
180
180
  }
181
181
  ]
182
182
  },
@@ -566,7 +566,7 @@
566
566
  "name": "keyword.control.loop.in.cs"
567
567
  }
568
568
  },
569
- "match": "(?x)\n(?:\n(\\bvar\\b)|\n(?<type-name>\n(?:\n(?:\n(?:(?<identifier>@?[_[:alpha:]][_[:alnum:]]*)\\s*\\:\\:\\s*)?\n(?<name-and-type-args>\n\\g<identifier>\\s*\n(?<type-args>\\s*<(?:[^<>]|\\g<type-args>)+>\\s*)?\n)\n(?:\\s*\\.\\s*\\g<name-and-type-args>)* |\n(?<tuple>\\s*\\((?:[^\\(\\)]|\\g<tuple>)+\\))\n)\n(?:\\s*\\?\\s*)?\n(?:\\s*\\[(?:\\s*,\\s*)*\\]\\s*)*\n)\n)\n)\\s+\n(\\g<identifier>)\\s+\n\\b(in)\\b"
569
+ "match": "(?:(\\bvar\\b)|(?<type-name>(?:(?:(?:(?<identifier>@?[_A-Za-z][_0-9A-Za-z]*)\\s*\\:\\:\\s*)?(?<name-and-type-args>\\g<identifier>\\s*(?<type-args>\\s*<(?:[^<>]|\\g<type-args>)+>\\s*)?)(?:\\s*\\.\\s*\\g<name-and-type-args>)*|(?<tuple>\\s*\\((?:[^\\(\\)]|\\g<tuple>)+\\)))(?:\\s*\\?\\s*)?(?:\\s*\\[(?:\\s*,\\s*)*\\]\\s*)*)))\\s+(\\g<identifier>)\\s+\\b(in)\\b"
570
570
  },
571
571
  {
572
572
  "captures": {
@@ -584,7 +584,7 @@
584
584
  "name": "keyword.control.loop.in.cs"
585
585
  }
586
586
  },
587
- "match": "(?x)\n(?:\\b(var)\\b\\s*)?\n(?<tuple>\\((?:[^\\(\\)]|\\g<tuple>)+\\))\\s+\n\\b(in)\\b"
587
+ "match": "(?:\\b(var)\\b\\s*)?(?<tuple>\\((?:[^\\(\\)]|\\g<tuple>)+\\))\\s+\\b(in)\\b"
588
588
  },
589
589
  {
590
590
  "include": "source.cs#expression"
@@ -762,7 +762,7 @@
762
762
  "name": "meta.directive"
763
763
  },
764
764
  "implicit-expression": {
765
- "begin": "(?<![[:alpha:][:alnum:]])(@)",
765
+ "begin": "(?<![A-Za-z0-9A-Za-z])(@)",
766
766
  "beginCaptures": {
767
767
  "1": {
768
768
  "patterns": [
@@ -785,11 +785,11 @@
785
785
  ]
786
786
  },
787
787
  "implicit-expression-accessor": {
788
- "match": "(?<=\\.)[_[:alpha:]][_[:alnum:]]*",
788
+ "match": "(?<=\\.)[_A-Za-z][_0-9A-Za-z]*",
789
789
  "name": "variable.other.object.property.cs"
790
790
  },
791
791
  "implicit-expression-accessor-start": {
792
- "begin": "([_[:alpha:]][_[:alnum:]]*)",
792
+ "begin": "([_A-Za-z][_0-9A-Za-z]*)",
793
793
  "beginCaptures": {
794
794
  "1": {
795
795
  "name": "variable.other.object.cs"
@@ -839,14 +839,14 @@
839
839
  "name": "punctuation.accessor.cs"
840
840
  }
841
841
  },
842
- "match": "(\\.)(?=[_[:alpha:]][_[:alnum:]]*)"
842
+ "match": "(\\.)(?=[_A-Za-z][_0-9A-Za-z]*)"
843
843
  },
844
844
  "implicit-expression-invocation": {
845
- "match": "(?<=\\.)[_[:alpha:]][_[:alnum:]]*(?=\\()",
845
+ "match": "(?<=\\.)[_A-Za-z][_0-9A-Za-z]*(?=\\()",
846
846
  "name": "entity.name.function.cs"
847
847
  },
848
848
  "implicit-expression-invocation-start": {
849
- "begin": "([_[:alpha:]][_[:alnum:]]*)(?=\\()",
849
+ "begin": "([_A-Za-z][_0-9A-Za-z]*)(?=\\()",
850
850
  "beginCaptures": {
851
851
  "1": {
852
852
  "name": "entity.name.function.cs"
@@ -873,7 +873,7 @@
873
873
  "name": "keyword.operator.logical.cs"
874
874
  }
875
875
  },
876
- "match": "(\\!)(?=(?:\\.[_[:alpha:]][_[:alnum:]]*)|\\?|[\\[\\(])"
876
+ "match": "(\\!)(?=(?:\\.[_A-Za-z][_0-9A-Za-z]*)|\\?|[\\[\\(])"
877
877
  },
878
878
  "implicit-expression-operator": {
879
879
  "patterns": [
@@ -934,7 +934,7 @@
934
934
  "name": "entity.name.variable.property.cs"
935
935
  }
936
936
  },
937
- "match": "(@)(inject)\\s*([\\S\\s]+?)?\\s*([_[:alpha:]][_[:alnum:]]*)?\\s*(?=$)",
937
+ "match": "(@)(inject)\\s*([\\S\\s]+?)?\\s*([_A-Za-z][_0-9A-Za-z]*)?\\s*(?=$)",
938
938
  "name": "meta.directive"
939
939
  },
940
940
  "layout-directive": {
@@ -1071,7 +1071,7 @@
1071
1071
  "name": "punctuation.accessor.cs"
1072
1072
  }
1073
1073
  },
1074
- "match": "([_[:alpha:]][_[:alnum:]]*)(\\.)?"
1074
+ "match": "([_A-Za-z][_0-9A-Za-z]*)(\\.)?"
1075
1075
  },
1076
1076
  "non-void-tag": {
1077
1077
  "begin": "(?=<(!)?([^/\\s>]+)(\\s|/?>))",
@@ -1405,7 +1405,7 @@
1405
1405
  "name": "meta.directive"
1406
1406
  },
1407
1407
  "section-directive": {
1408
- "begin": "(@)(section)\\b\\s+([_[:alpha:]][_[:alnum:]]*)?",
1408
+ "begin": "(@)(section)\\b\\s+([_A-Za-z][_0-9A-Za-z]*)?",
1409
1409
  "beginCaptures": {
1410
1410
  "1": {
1411
1411
  "patterns": [
@@ -1726,7 +1726,7 @@
1726
1726
  ]
1727
1727
  }
1728
1728
  },
1729
- "match": "([_[:alpha:]][_[:alnum:]]*)\\b\\s*(=)\\s*(.+)\\s*"
1729
+ "match": "([_A-Za-z][_0-9A-Za-z]*)\\b\\s*(=)\\s*(.+)\\s*"
1730
1730
  },
1731
1731
  "using-directive": {
1732
1732
  "captures": {
@@ -1766,7 +1766,7 @@
1766
1766
  "name": "entity.name.type.namespace.cs"
1767
1767
  }
1768
1768
  },
1769
- "match": "([_[:alpha:]][_[:alnum:]]*)\\s*"
1769
+ "match": "([_A-Za-z][_0-9A-Za-z]*)\\s*"
1770
1770
  },
1771
1771
  "using-statement": {
1772
1772
  "begin": "(?:(@))(using)\\b\\s*(?=\\()",
@@ -35,7 +35,7 @@
35
35
  ]
36
36
  },
37
37
  "fregexp-quantifier": {
38
- "match": "(?x)\n\\{\\{(\n\\d+ | \\d+,(\\d+)? | ,\\d+\n)\\}\\}\n",
38
+ "match": "\\{\\{(\\d+|\\d+,(\\d+)?|,\\d+)\\}\\}",
39
39
  "name": "keyword.operator.quantifier.regexp"
40
40
  },
41
41
  "fstring-formatting-braces": {
@@ -73,7 +73,7 @@
73
73
  "name": "support.other.parenthesis.regexp punctuation.parenthesis.backreference.named.end.regexp"
74
74
  }
75
75
  },
76
- "match": "(?x)\n(\\() (\\?P= \\w+(?:\\s+[[:alnum:]]+)?) (\\))\n",
76
+ "match": "(\\()(\\?P=\\w+(?:\\s+[0-9A-Za-z]+)?)(\\))",
77
77
  "name": "meta.backreference.named.regexp"
78
78
  },
79
79
  "regexp-backreference-number": {
@@ -125,7 +125,7 @@
125
125
  "regexp-character-set": {
126
126
  "patterns": [
127
127
  {
128
- "match": "(?x)\n\\[ \\^? \\] (?! .*?\\])\n"
128
+ "match": "\\[\\s\\^?\\s\\](?!.*?\\])"
129
129
  },
130
130
  {
131
131
  "begin": "(\\[)(\\^)?(\\])?",
@@ -210,7 +210,7 @@
210
210
  ]
211
211
  },
212
212
  "regexp-conditional": {
213
- "begin": "(\\()\\?\\((\\w+(?:\\s+[[:alnum:]]+)?|\\d+)\\)",
213
+ "begin": "(\\()\\?\\((\\w+(?:\\s+[0-9A-Za-z]+)?|\\d+)\\)",
214
214
  "beginCaptures": {
215
215
  "0": {
216
216
  "name": "keyword.operator.conditional.regexp"
@@ -239,7 +239,7 @@
239
239
  "name": "constant.character.escape.regexp"
240
240
  },
241
241
  "regexp-escape-character": {
242
- "match": "(?x)\n\\\\ (\nx[0-9A-Fa-f]{2}\n| 0[0-7]{1,2}\n| [0-7]{3}\n)\n",
242
+ "match": "\\\\(x[0-9A-Fa-f]{2}|0[0-7]{1,2}|[0-7]{3})",
243
243
  "name": "constant.character.escape.regexp"
244
244
  },
245
245
  "regexp-escape-sequence": {
@@ -266,7 +266,7 @@
266
266
  "name": "support.other.escape.special.regexp"
267
267
  },
268
268
  "regexp-escape-unicode": {
269
- "match": "(?x)\n\\\\ (\nu[0-9A-Fa-f]{4}\n| U[0-9A-Fa-f]{8}\n)\n",
269
+ "match": "\\\\(u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})",
270
270
  "name": "constant.character.unicode.regexp"
271
271
  },
272
272
  "regexp-expression": {
@@ -417,7 +417,7 @@
417
417
  ]
418
418
  },
419
419
  "regexp-named-group": {
420
- "begin": "(?x)\n(\\() (\\?P <\\w+(?:\\s+[[:alnum:]]+)?>)\n",
420
+ "begin": "(\\()(\\?P<\\w+(?:\\s+[0-9A-Za-z]+)?>)",
421
421
  "beginCaptures": {
422
422
  "1": {
423
423
  "name": "support.other.parenthesis.regexp punctuation.parenthesis.named.begin.regexp"
@@ -487,7 +487,7 @@
487
487
  ]
488
488
  },
489
489
  "regexp-quantifier": {
490
- "match": "(?x)\n\\{(\n\\d+ | \\d+,(\\d+)? | ,\\d+\n)\\}\n",
490
+ "match": "\\{(\\d+|\\d+,(\\d+)?|,\\d+)\\}",
491
491
  "name": "keyword.operator.quantifier.regexp"
492
492
  }
493
493
  },
package/grammars/rel.json CHANGED
@@ -182,7 +182,7 @@
182
182
  "symbols": {
183
183
  "patterns": [
184
184
  {
185
- "match": "(:[\\[_$[:alpha:]](\\]|[_$[:alnum:]]*))",
185
+ "match": "(:[\\[_$A-Za-z](\\]|[_$0-9A-Za-z]*))",
186
186
  "name": "variable.parameter.rel"
187
187
  }
188
188
  ]
@@ -161,7 +161,7 @@
161
161
  "name": "comment.line.double-slash"
162
162
  },
163
163
  {
164
- "begin": "(?x)\n^\\s*\\#\\s*(define)\\s+\n((?<id>[a-zA-Z_][a-zA-Z0-9_]*))\n(?:\n(\\()\n(\n\\s* \\g<id> \\s*\n((,) \\s* \\g<id> \\s*)*\n(?:\\.\\.\\.)?\n)\n(\\))\n)?\n",
164
+ "begin": "^\\s*\\#\\s*(define)\\s+((?<id>[a-zA-Z_][a-zA-Z0-9_]*))(?:(\\()(\\s*\\g<id>\\s*((,)\\s*\\g<id>\\s*)*(?:\\.\\.\\.)?)(\\)))?",
165
165
  "beginCaptures": {
166
166
  "1": {
167
167
  "name": "keyword.control.import.define.c"
@@ -219,7 +219,7 @@
219
219
  "name": "variable.other.constant.ruby"
220
220
  },
221
221
  {
222
- "begin": "(?x)\n(?=def\\b)\n(?<=^|\\s)(def)\\s+\n( (?>[a-zA-Z_]\\w*(?>\\.|::))?\n(?>[a-zA-Z_]\\w*(?>[?!]|=(?!>))?\n|===?|!=|!~|>[>=]?|<=>|<[<=]?|[%&`/\\|^]|\\*\\*?|=?~|[-+]@?|\\[\\]=?) )\n\\s*(\\()\n",
222
+ "begin": "(?=def\\b)(?<=^|\\s)(def)\\s+((?>[a-zA-Z_]\\w*(?>\\.|::))?(?>[a-zA-Z_]\\w*(?>[?!]|=(?!>))?|===?|!=|!~|>[>=]?|<=>|<[<=]?|[%&`/\\|^]|\\*\\*?|=?~|[-+]@?|\\[\\]=?))\\s*(\\()",
223
223
  "beginCaptures": {
224
224
  "1": {
225
225
  "name": "keyword.control.def.ruby"
@@ -327,7 +327,7 @@
327
327
  }
328
328
  },
329
329
  {
330
- "begin": "(?x)\n(?=def\\b)\n(?<=^|\\s)(def)\\s+\n( (?>[a-zA-Z_]\\w*(?>\\.|::))?\n(?>[a-zA-Z_]\\w*(?>[?!]|=(?!>))?\n|===?|!=|!~|>[>=]?|<=>|<[<=]?|[%&`/\\|^]|\\*\\*?|=?~|[-+]@?|\\[\\]=?) )\n[ \\t]\n(?=[ \\t]*[^\\s#;])\n",
330
+ "begin": "(?=def\\b)(?<=^|\\s)(def)\\s+((?>[a-zA-Z_]\\w*(?>\\.|::))?(?>[a-zA-Z_]\\w*(?>[?!]|=(?!>))?|===?|!=|!~|>[>=]?|<=>|<[<=]?|[%&`/\\|^]|\\*\\*?|=?~|[-+]@?|\\[\\]=?))[\\s\\t](?=[\\s\\t]*[^\\s#;])",
331
331
  "beginCaptures": {
332
332
  "1": {
333
333
  "name": "keyword.control.def.ruby"
@@ -379,7 +379,7 @@
379
379
  }
380
380
  },
381
381
  "comment": " the optional name is just to catch the def also without a method-name",
382
- "match": "(?x)\n(?=def\\b)\n(?<=^|\\s)(def)\\b\n( \\s+\n( (?>[a-zA-Z_]\\w*(?>\\.|::))?\n(?>[a-zA-Z_]\\w*(?>[?!]|=(?!>))?\n|===?|!=|!~|>[>=]?|<=>|<[<=]?|[%&`/\\|^]|\\*\\*?|=?~|[-+]@?|\\[\\]=?) ) )?\n",
382
+ "match": "(?=def\\b)(?<=^|\\s)(def)\\b(\\s+((?>[a-zA-Z_]\\w*(?>\\.|::))?(?>[a-zA-Z_]\\w*(?>[?!]|=(?!>))?|===?|!=|!~|>[>=]?|<=>|<[<=]?|[%&`/\\|^]|\\*\\*?|=?~|[-+]@?|\\[\\]=?)))?",
383
383
  "name": "meta.function.method.without-arguments.ruby"
384
384
  },
385
385
  {
@@ -515,7 +515,7 @@
515
515
  "include": "#percent_literals"
516
516
  },
517
517
  {
518
- "begin": "(?x)\n(?:\n^\n| (?<=\n[=>~(?:\\[,|&;]\n| [\\s;]if\\s\n| [\\s;]elsif\\s\n| [\\s;]while\\s\n| [\\s;]unless\\s\n| [\\s;]when\\s\n| [\\s;]assert_match\\s\n| [\\s;]or\\s\n| [\\s;]and\\s\n| [\\s;]not\\s\n| [\\s.]index\\s\n| [\\s.]scan\\s\n| [\\s.]sub\\s\n| [\\s.]sub!\\s\n| [\\s.]gsub\\s\n| [\\s.]gsub!\\s\n| [\\s.]match\\s\n)\n| (?<=\n^when\\s\n| ^if\\s\n| ^elsif\\s\n| ^while\\s\n| ^unless\\s\n)\n)\n\\s*((/))(?![*+{}?])\n",
518
+ "begin": "(?:^|(?<=[=>~(?:\\[,|&;]|[\\s;]if\\s|[\\s;]elsif\\s|[\\s;]while\\s|[\\s;]unless\\s|[\\s;]when\\s|[\\s;]assert_match\\s|[\\s;]or\\s|[\\s;]and\\s|[\\s;]not\\s|[\\s.]index\\s|[\\s.]scan\\s|[\\s.]sub\\s|[\\s.]sub!\\s|[\\s.]gsub\\s|[\\s.]gsub!\\s|[\\s.]match\\s)|(?<=^when\\s|^if\\s|^elsif\\s|^while\\s|^unless\\s))\\s*((/))(?![*+{}?])",
519
519
  "captures": {
520
520
  "1": {
521
521
  "name": "string.regexp.classic.ruby"
@@ -519,7 +519,7 @@
519
519
  "name": "entity.name.export.renamed-to.scala"
520
520
  }
521
521
  },
522
- "match": "(?x)(given\\s)?\\s*(?:([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))\\s*(=>)\\s*(?:([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))\\s*"
522
+ "match": "(given\\s)?\\s*(?:([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))\\s*(=>)\\s*(?:([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))\\s*"
523
523
  },
524
524
  {
525
525
  "match": "\\b(given)\\b",
@@ -624,7 +624,7 @@
624
624
  "name": "entity.name.import.renamed-to.scala"
625
625
  }
626
626
  },
627
- "match": "(?x)(given\\s)?\\s*(?:([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))\\s*(=>)\\s*(?:([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))\\s*"
627
+ "match": "(given\\s)?\\s*(?:([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))\\s*(=>)\\s*(?:([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))\\s*"
628
628
  },
629
629
  {
630
630
  "match": "\\b(given)\\b",
@@ -83,31 +83,31 @@
83
83
  "language-functions": {
84
84
  "patterns": [
85
85
  {
86
- "match": "(?x)\n(?<=(\\s|\\(|\\[))\n( do|or|and|else|quasiquote|begin|if|case|set!|\ncond|let|unquote|define|let\\*|unquote-splicing|delay|\nletrec)\n(?=(\\s|\\())",
86
+ "match": "(?<=(\\s|\\(|\\[))(do|or|and|else|quasiquote|begin|if|case|set!|cond|let|unquote|define|let\\*|unquote-splicing|delay|letrec)(?=(\\s|\\())",
87
87
  "name": "keyword.control.scheme"
88
88
  },
89
89
  {
90
90
  "comment": "\n\t\t\t\t\t\tThese functions run a test, and return a boolean\n\t\t\t\t\t\tanswer.\n\t\t\t\t\t",
91
- "match": "(?x)\n(?<=(\\s|\\())\n( char-alphabetic|char-lower-case|char-numeric|\nchar-ready|char-upper-case|char-whitespace|\n(?:char|string)(?:-ci)?(?:=|<=?|>=?)|\natom|boolean|bound-identifier=|char|complex|\nidentifier|integer|symbol|free-identifier=|inexact|\neof-object|exact|list|(?:input|output)-port|pair|\nreal|rational|zero|vector|negative|odd|null|string|\neq|equal|eqv|even|number|positive|procedure\n)\n(\\?)\n(?=(\\s|\\())\n",
91
+ "match": "(?<=(\\s|\\())(char-alphabetic|char-lower-case|char-numeric|char-ready|char-upper-case|char-whitespace|(?:char|string)(?:-ci)?(?:=|<=?|>=?)|atom|boolean|bound-identifier=|char|complex|identifier|integer|symbol|free-identifier=|inexact|eof-object|exact|list|(?:input|output)-port|pair|real|rational|zero|vector|negative|odd|null|string|eq|equal|eqv|even|number|positive|procedure)(\\?)(?=(\\s|\\())",
92
92
  "name": "support.function.boolean-test.scheme"
93
93
  },
94
94
  {
95
95
  "comment": "\n\t\t\t\t\t\tThese functions change one type into another.\n\t\t\t\t\t",
96
- "match": "(?x)\n(?<=(\\s|\\())\n( char->integer|exact->inexact|inexact->exact|\ninteger->char|symbol->string|list->vector|\nlist->string|identifier->symbol|vector->list|\nstring->list|string->number|string->symbol|\nnumber->string\n)\n(?=(\\s|\\())\n",
96
+ "match": "(?<=(\\s|\\())(char->integer|exact->inexact|inexact->exact|integer->char|symbol->string|list->vector|list->string|identifier->symbol|vector->list|string->list|string->number|string->symbol|number->string)(?=(\\s|\\())",
97
97
  "name": "support.function.convert-type.scheme"
98
98
  },
99
99
  {
100
100
  "comment": "\n\t\t\t\t\t\tThese functions are potentially dangerous because\n\t\t\t\t\t\tthey have side-effects which could affect other\n\t\t\t\t\t\tparts of the program.\n\t\t\t\t\t",
101
- "match": "(?x)\n(?<=(\\s|\\())\n( set-(?:car|cdr)|\n(?:vector|string)-(?:fill|set)\n)\n(!)\n(?=(\\s|\\())\n",
101
+ "match": "(?<=(\\s|\\())(set-(?:car|cdr)|(?:vector|string)-(?:fill|set))(!)(?=(\\s|\\())",
102
102
  "name": "support.function.with-side-effects.scheme"
103
103
  },
104
104
  {
105
105
  "comment": "\n\t\t\t\t\t\t+, -, *, /, =, >, etc. \n\t\t\t\t\t",
106
- "match": "(?x)\n(?<=(\\s|\\())\n( >=?|<=?|=|[*/+-])\n(?=(\\s|\\())\n",
106
+ "match": "(?<=(\\s|\\())(>=?|<=?|=|[*/+-])(?=(\\s|\\())",
107
107
  "name": "keyword.operator.arithmetic.scheme"
108
108
  },
109
109
  {
110
- "match": "(?x)\n(?<=(\\s|\\())\n( append|apply|approximate|\ncall-with-current-continuation|call/cc|catch|\nconstruct-identifier|define-syntax|display|foo|\nfor-each|force|format|cd|gen-counter|gen-loser|\ngenerate-identifier|last-pair|length|let-syntax|\nletrec-syntax|list|list-ref|list-tail|load|log|\nmacro|magnitude|map|map-streams|max|member|memq|\nmemv|min|newline|nil|not|peek-char|rationalize|\nread|read-char|return|reverse|sequence|substring|\nsyntax|syntax-rules|transcript-off|transcript-on|\ntruncate|unwrap-syntax|values-list|write|write-char|\n\n\ncons|c(a|d){1,4}r|\n\n\nabs|acos|angle|asin|assoc|assq|assv|atan|ceiling|\ncos|floor|round|sin|sqrt|tan|\n(?:real|imag)-part|numerator|denominator\n\n\nmodulo|exp|expt|remainder|quotient|lcm|\n\n\ncall-with-(?:input|output)-file|\n(?:close|current)-(?:input|output)-port|\nwith-(?:input|output)-from-file|\nopen-(?:input|output)-file|\n\n\nchar-(?:downcase|upcase|ready)|\n\n\nmake-(?:polar|promise|rectangular|string|vector)\n\n\nstring(?:-(?:append|copy|length|ref))?|\nvector(?:-length|-ref)\n)\n(?=(\\s|\\())\n",
110
+ "match": "(?<=(\\s|\\())(append|apply|approximate|call-with-current-continuation|call/cc|catch|construct-identifier|define-syntax|display|foo|for-each|force|format|cd|gen-counter|gen-loser|generate-identifier|last-pair|length|let-syntax|letrec-syntax|list|list-ref|list-tail|load|log|macro|magnitude|map|map-streams|max|member|memq|memv|min|newline|nil|not|peek-char|rationalize|read|read-char|return|reverse|sequence|substring|syntax|syntax-rules|transcript-off|transcript-on|truncate|unwrap-syntax|values-list|write|write-char|cons|c(a|d){1,4}r|abs|acos|angle|asin|assoc|assq|assv|atan|ceiling|cos|floor|round|sin|sqrt|tan|(?:real|imag)-part|numerator|denominatormodulo|exp|expt|remainder|quotient|lcm|call-with-(?:input|output)-file|(?:close|current)-(?:input|output)-port|with-(?:input|output)-from-file|open-(?:input|output)-file|char-(?:downcase|upcase|ready)|make-(?:polar|promise|rectangular|string|vector)string(?:-(?:append|copy|length|ref))?|vector(?:-length|-ref))(?=(\\s|\\())",
111
111
  "name": "support.function.general.scheme"
112
112
  }
113
113
  ]
@@ -121,7 +121,7 @@
121
121
  "name": "punctuation.section.quoted.symbol.scheme"
122
122
  }
123
123
  },
124
- "match": "(?x)\n(')\\s*\n([[:alnum:]][[:alnum:]!$%&*+-./:<=>?@^_~]*)\n",
124
+ "match": "(')\\s*([0-9A-Za-z][0-9A-Za-z!$%&*+-./:<=>?@^_~]*)",
125
125
  "name": "constant.other.symbol.scheme"
126
126
  },
127
127
  {
@@ -139,7 +139,7 @@
139
139
  "name": "punctuation.section.expression.end.scheme"
140
140
  }
141
141
  },
142
- "match": "(?x)\n(')\\s*\n((\\()\\s*(\\)))\n",
142
+ "match": "(')\\s*((\\()\\s*(\\)))",
143
143
  "name": "constant.other.empty-list.schem"
144
144
  },
145
145
  {
@@ -231,7 +231,7 @@
231
231
  "include": "#comment"
232
232
  },
233
233
  {
234
- "begin": "(?x)\n(?<=\\()\n(define)\\s+\n(\\()\n([[:alnum:]][[:alnum:]!$%&*+-./:<=>?@^_~]*)\n((\\s+\n([[:alnum:]][[:alnum:]!$%&*+-./:<=>?@^_~]*|[._])\n)*\n)\\s*\n(\\))\n",
234
+ "begin": "(?<=\\()(define)\\s+(\\()([0-9A-Za-z][0-9A-Za-z!$%&*+-./:<=>?@^_~]*)((\\s+([0-9A-Za-z][0-9A-Za-z!$%&*+-./:<=>?@^_~]*|[._]))*)\\s*(\\))",
235
235
  "captures": {
236
236
  "1": {
237
237
  "name": "keyword.control.scheme"
@@ -264,7 +264,7 @@
264
264
  ]
265
265
  },
266
266
  {
267
- "begin": "(?x)\n(?<=\\()\n(lambda)\\s+\n(\\()\n((?:\n([[:alnum:]][[:alnum:]!$%&*+-./:<=>?@^_~]*|[._])\n\\s+\n)*(?:\n([[:alnum:]][[:alnum:]!$%&*+-./:<=>?@^_~]*|[._])\n)?)\n(\\))\n",
267
+ "begin": "(?<=\\()(lambda)\\s+(\\()((?:([0-9A-Za-z][0-9A-Za-z!$%&*+-./:<=>?@^_~]*|[._])\\s+)*(?:([0-9A-Za-z][0-9A-Za-z!$%&*+-./:<=>?@^_~]*|[._]))?)(\\))",
268
268
  "captures": {
269
269
  "1": {
270
270
  "name": "keyword.control.scheme"
@@ -295,7 +295,7 @@
295
295
  ]
296
296
  },
297
297
  {
298
- "begin": "(?<=\\()(define)\\s([[:alnum:]][[:alnum:]!$%&*+-./:<=>?@^_~]*)\\s*.*?",
298
+ "begin": "(?<=\\()(define)\\s([0-9A-Za-z][0-9A-Za-z!$%&*+-./:<=>?@^_~]*)\\s*.*?",
299
299
  "captures": {
300
300
  "1": {
301
301
  "name": "keyword.control.scheme"
@@ -1315,7 +1315,7 @@
1315
1315
  ]
1316
1316
  }
1317
1317
  },
1318
- "match": "(?x)\n(?<=&)\n(\n(?: [-a-zA-Z_0-9]|[^\\x00-\\x7F]\n| \\\\(?:[0-9a-fA-F]{1,6}|.)\n| \\#\\{\n| \\$\n| }\n)+\n)\n(?= $\n| [\\s,.\\#)\\[:{>+~|]\n| /\\*\n)",
1318
+ "match": "(?<=&)((?:[-a-zA-Z_0-9]|[^\\x00-\\x7F]|\\\\(?:[0-9a-fA-F]{1,6}|.)|\\#\\{|\\$|})+)(?=$|[\\s,.\\#)\\[:{>+~|]|/\\*)",
1319
1319
  "name": "entity.other.attribute-name.parent-selector-suffix.css"
1320
1320
  },
1321
1321
  "properties": {
@@ -1590,7 +1590,7 @@
1590
1590
  ]
1591
1591
  }
1592
1592
  },
1593
- "match": "(?x)\n(\\.)\n(\n(?: [-a-zA-Z_0-9]|[^\\x00-\\x7F]\n| \\\\(?:[0-9a-fA-F]{1,6}|.)\n| \\#\\{\n| \\.?\\$\n| }\n)+\n)\n(?= $\n| [\\s,\\#)\\[:{>+~|]\n| \\.[^$]\n| /\\*\n| ;\n)",
1593
+ "match": "(\\.)((?:[-a-zA-Z_0-9]|[^\\x00-\\x7F]|\\\\(?:[0-9a-fA-F]{1,6}|.)|\\#\\{|\\.?\\$|})+)(?=$|[\\s,\\#)\\[:{>+~|]|\\.[^$]|/\\*|;)",
1594
1594
  "name": "entity.other.attribute-name.class.css"
1595
1595
  },
1596
1596
  "selector_custom": {
@@ -1618,7 +1618,7 @@
1618
1618
  ]
1619
1619
  }
1620
1620
  },
1621
- "match": "(?x)\n(\\#)\n(\n(?: [-a-zA-Z_0-9]|[^\\x00-\\x7F]\n| \\\\(?:[0-9a-fA-F]{1,6}|.)\n| \\#\\{\n| \\.?\\$\n| }\n)+\n)\n(?= $\n| [\\s,\\#)\\[:{>+~|]\n| \\.[^$]\n| /\\*\n)",
1621
+ "match": "(\\#)((?:[-a-zA-Z_0-9]|[^\\x00-\\x7F]|\\\\(?:[0-9a-fA-F]{1,6}|.)|\\#\\{|\\.?\\$|})+)(?=$|[\\s,\\#)\\[:{>+~|]|\\.[^$]|/\\*)",
1622
1622
  "name": "entity.other.attribute-name.id.css"
1623
1623
  },
1624
1624
  "selector_placeholder": {
@@ -1642,7 +1642,7 @@
1642
1642
  ]
1643
1643
  }
1644
1644
  },
1645
- "match": "(?x)\n(%)\n(\n(?: [-a-zA-Z_0-9]|[^\\x00-\\x7F]\n| \\\\(?:[0-9a-fA-F]{1,6}|.)\n| \\#\\{\n| \\.\\$\n| \\$\n| }\n)+\n)\n(?= ;\n| $\n| [\\s,\\#)\\[:{>+~|]\n| \\.[^$]\n| /\\*\n)",
1645
+ "match": "(%)((?:[-a-zA-Z_0-9]|[^\\x00-\\x7F]|\\\\(?:[0-9a-fA-F]{1,6}|.)|\\#\\{|\\.\\$|\\$|})+)(?=;|$|[\\s,\\#)\\[:{>+~|]|\\.[^$]|/\\*)",
1646
1646
  "name": "entity.other.attribute-name.placeholder.css"
1647
1647
  },
1648
1648
  "selector_pseudo_class": {
@@ -22,7 +22,7 @@
22
22
  ]
23
23
  }
24
24
  },
25
- "match": "(?x) ^ (?: ( (?:\\(\\S+\\)\\s*)? (?: sh\\S*? | \\w+\\S+[@:]\\S+(?:\\s+\\S+)? | \\[\\S+?[@:][^\\n]+?\\].*? ) ) \\s* )? ( [>$#%❯➜] | \\p{Greek} ) \\s+ (.*) $"
25
+ "match": "^(?:((?:\\(\\S+\\)\\s*)?(?:sh\\S*?|\\w+\\S+[@:]\\S+(?:\\s+\\S+)?|\\[\\S+?[@:][^\\n]+?\\].*?))\\s*)?([>$#%❯➜]|\\p{Greek})\\s+(.*)$"
26
26
  },
27
27
  {
28
28
  "match": "^.+$",