| 1 | [ |
| 2 | (anchor_begin) |
| 3 | (anchor_end) |
| 4 | ] @punctuation.delimiter |
| 5 | |
| 6 | (pattern |
| 7 | (character |
| 8 | "." @variable.builtin)) |
| 9 | |
| 10 | [ |
| 11 | "[" |
| 12 | "]" |
| 13 | "(" |
| 14 | ")" |
| 15 | ] @punctuation.bracket |
| 16 | |
| 17 | [ |
| 18 | (zero_or_more) |
| 19 | (shortest_zero_or_more) |
| 20 | (one_or_more) |
| 21 | (zero_or_one) |
| 22 | ] @operator |
| 23 | |
| 24 | (range |
| 25 | from: (character) @constant |
| 26 | "-" @operator |
| 27 | to: (character) @constant) |
| 28 | |
| 29 | (set |
| 30 | (character) @constant) |
| 31 | |
| 32 | (negated_set |
| 33 | (character) @constant) |
| 34 | |
| 35 | (class) @constant.character.escape |
| 36 | |
| 37 | (class |
| 38 | "%" @string.regexp |
| 39 | (escape_char) @string.regexp) |
| 40 | |
| 41 | (negated_set |
| 42 | "^" @operator) |
| 43 | |
| 44 | (balanced_match |
| 45 | (character) @variable.parameter) |