This file is indexed.

/usr/share/kde4/apps/tagua/highlighting/highlighting.lua is in tagua-data 1.0~alpha2-15.

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
53
on["^(%S+) tells you: "] = function()
  sentence = line(match.to, line.to)
  sentence.bold = true
  nick = Text("<" .. ref[1].text .. "> ")
  nick.color = "#104050"

  return nick + sentence
end

on["^%S+ rating adjustment:|^No rating adjustment done."] = function()
--  send_text("Thank you")

  return line
end

filter("^<12>")

filter("^<b1>")

nick = ""

-- Notification
highlight["^(?:Present company includes|Notification|Challenge|You|:).*$"] = {
  color = Color(158,29,180)
}

-- Seek
on["(^%S+%s%((%d|%+)+%))( seeking .*) %(\"play (%d+)\" to respond%)"] = function()
  ref[4].bold = true

  return ref[1] + ref[3] + Text(" ==> ") + ref[4]
end

-- Channel tell
highlight["^%S+%((%d|%+)+%):.*$"] = {
  color = Color(177,130,0)
}

-- Shouts
highlight["^(?:%-%->|%S+%s+(?:(?:c%-)?shouts:)).*$"] = {
  color = Color(0,145,65)
}

-- Game
highlight["^(?:%{|Game|Creating).*$"] = {
  bold = true,
  color = Color(214,0,3)
}

-- Tells
-- highlight["^%S+%s+tells you.*$"] = {
--   color = Color(0,40,221)
-- }