tree_sitter_regex

Constant HIGHLIGHTS_QUERY

Source
pub const HIGHLIGHTS_QUERY: &str = "[\n  \"(\"\n  \")\"\n  \"(?\"\n  \"(?:\"\n  \"(?<\"\n  \"(?P<\"\n  \"(?P=\"\n  \">\"\n  \"[\"\n  \"]\"\n  \"{\"\n  \"}\"\n  \"[:\"\n  \":]\"\n] @punctuation.bracket\n\n(group_name) @property\n\n[\n  (identity_escape)\n  (control_letter_escape)\n  (character_class_escape)\n  (control_escape)\n  (start_assertion)\n  (end_assertion)\n  (boundary_assertion)\n  (non_boundary_assertion)\n] @escape\n\n[\n  \"*\"\n  \"+\"\n  \"?\"\n  \"|\"\n  \"=\"\n  \"!\"\n] @operator\n\n(count_quantifier\n  [\n    (decimal_digits) @number\n    \",\" @punctuation.delimiter\n  ])\n\n(inline_flags_group\n  \"-\"? @operator\n  \":\"? @punctuation.delimiter)\n\n(flags) @character.special\n\n(character_class\n  [\n    \"^\" @operator\n    (class_range \"-\" @operator)\n  ])\n\n[\n  (class_character)\n  (posix_class_name)\n] @constant.character\n\n(pattern_character) @string\n";
Expand description

The syntax highlighting query for this grammar.