This file is indexed.

/usr/share/highlight/langDefs/rnc.lang is in highlight-common 3.41-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
-- Language definition generated by lang2to3, added to by rsperberg

Description="Relax NG"

Keywords={
  { Id=1,
    List={"datatypes", "div", "element", "empty", "external", "grammar", "include",
          "inherit", "list", "mixed", "namespace", "notAllowed"},
  },
  -- allows certain keywords to be used as element/attribute names
  { Id=1,
    Regex=[[(?<!element )(default|attribute)\\s]]
  },
  { Id=1,
    Regex=[[(?<!attribute )start\\s]]
  },
  -- includes xsd datatypes
  { Id=2,
    list={"empty", "string", "text", "token", "xsd", "rng", "anyuri", 
        "base64binary", "boolean", "byte", "date", "datetime", "decimal", "double", 
        "duration", "entities", "entity", "float", "gday", "gmonth", "gmonthday", 
        "gyear", "gyearmonth", "hexbinary", "id", "idref", "idrefs", "int", "integer", 
        "language", "long", "name", "ncname", "negativeinteger", "nmtoken", "nmtokens", 
        "nonnegativeinteger", "nonpositiveinteger", "normalizedstring", "notation", 
        "positiveinteger", "qname", "short", "string", "token", "unsignedbyte", 
        "unsignedint", "unsignedlong", "unsignedshort"},
  },
  -- allows "time" to be used as element/attribute name
  { Id=2,
    Regex=[[time(?!-)]]
  },
  { Id=2,
    List={"defaultValue"},
  },
  { Id=2,
    Regex=[[a(?=:)]]
  }
}

Strings={
  Delimiter=[["|\']],
}

IgnoreCase=false

Comments={
  { Block=false,
    Delimiter= { [[#]] },
  },
}

Operators=[[\[|\]|\{|\}|\;|\.|<|>|\!|\=|\/|\%|\+|\~|\&|\=]]