highlights.scm

 1[
 2  "("
 3  ")"
 4  "(?"
 5  "(?:"
 6  "(?<"
 7  ">"
 8  "["
 9  "]"
10  "{"
11  "}"
12] @string
13
14(group_name) @property
15
16[
17  (identity_escape)
18  (control_letter_escape)
19  (character_class_escape)
20  (control_escape)
21  (start_assertion)
22  (end_assertion)
23  (boundary_assertion)
24  (non_boundary_assertion)
25] @string.escape
26
27[
28  "*"
29  "+"
30  "?"
31  "|"
32  "="
33  "!"
34  (any_character)
35] @operator
36
37(count_quantifier
38  [
39    (decimal_digits) @number
40    "," @punctuation.delimiter
41  ])
42
43(character_class
44  [
45    "^" @operator
46    (class_range "-" @operator)
47  ])