Unnamed repository; edit this file 'description' to name the repository.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
; upstream: https://github.com/tree-sitter/tree-sitter-regex/blob/e1cfca3c79896ff79842f057ea13e529b66af636/queries/highlights.scm

[
  "("
  ")"
  "(?"
  "(?:"
  "(?<"
  ">"
  "["
  "]"
  "{"
  "}"
] @punctuation.bracket

[
  "*"
  "+"
  "|"
  "="
  "<="
  "!"
  "<!"
  "?"
] @operator

[
  (identity_escape)
  (control_letter_escape)
  (character_class_escape)
  (control_escape)
  (start_assertion)
  (end_assertion)
  (boundary_assertion)
  (non_boundary_assertion)
] @constant.character.escape

(group_name) @label

(count_quantifier
  [
    (decimal_digits) @constant.numeric
    "," @punctuation.delimiter
  ])

(character_class
  [
    "^" @operator
    (class_range "-" @operator)
  ])

(class_character) @constant.character
(pattern_character) @string
text-[#a3a29c] bg-[#262F3F] border-r border-[#333A45]"> HTTPS
SSH
Open with VS Code
Lukas Wirth fix: Fix token downmapping being quadratic
5d951a6 · 2023-12-08 22981Commits
.cargo
d---------
.editorconfig
-rw-r--r--
231
.git-blame-ignore-revs
-rw-r--r--
245
.gitattributes
-rw-r--r--
213
.github
d---------
.gitignore
-rw-r--r--
213
.vscode
d---------
Cargo.lock
-rw-r--r--
52703
Cargo.toml
-rw-r--r--
4619
LICENSE-APACHE
-rw-r--r--
10847
LICENSE-MIT
-rw-r--r--
1023
PRIVACY.md
-rw-r--r--
99
README.md
-rw-r--r--
1668
assets
d---------
bench_data
d---------
crates
d---------
docs
d---------
editors
d---------
lib
d---------
rust-bors.toml
-rw-r--r--
15
rustfmt.toml
-rw-r--r--
53
triagebot.toml
-rw-r--r--
355
xtask
d---------
README.md