This file is indexed.

/usr/share/gtksourceview-3.0/language-specs/logcat.lang is in libgtksourceview-3.0-common 3.24.7-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
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
<?xml version="1.0" encoding="UTF-8"?>
<!--
 This file is part of GtkSourceView

 Authors: Ryuinferno, Paul Lammertsma, Kelly Craft
 Copyright (C) 2013 Ryuinferno <ryuinferno.xda@gmail.com>
 Copyright (C) 2014 Paul Lammertsma <paul@pixplicity.com>
 Copyright (C) 2017 Kelly Craft <mushroomhead52e@gmail.com>

 GtkSourceView is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.

 GtkSourceView is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.

 You should have received a copy of the GNU Lesser General Public License
 along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
<language id="logcat" name="logcat" version="2.0" _section="Other">
  <metadata>
    <property name="mimetypes">text/x-logcat</property>
    <property name="globs">*.logcat</property>
  </metadata>

  <styles>
    <style id="comment" name="Comment" map-to="def:comment"/>
    <style id="verbose" name="Verbose" map-to="def:identifier"/>
    <style id="debug"   name="Debug"   map-to="def:shebang"/>
    <style id="info"    name="Info"    map-to="def:string"/>
    <style id="warning" name="Warning" map-to="def:statement"/>
    <style id="error"   name="Error"   map-to="def:number"/>
    <style id="fatal"   name="Fatal"   map-to="def:error"/>
    <style id="others"  name="Others"  map-to="def:comment"/>
  </styles>

  <definitions>
    <context id="comment1" style-ref="comment">
      <start>^---------</start>
      <end>$</end>
    </context>

    <context id="comment2" style-ref="comment">
      <start>^#</start>
      <end>$</end>
    </context>

    <context id="datetime" style-ref="comment">
      <start>^([0-9]{4}-[0-9]{2}|[0-9]{2})-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}</start>
      <end> </end>
    </context>

    <context id="thread" style-ref="comment">
      <start>([ ]+[0-9]+[ ]+|[0-9]{5} )</start>
      <end>([0-9]{5}|[0-9]{4}|[0-9]{3}|[0-9]{2}|[0-9]{1})</end>
    </context>

    <context id="verbose" style-ref="verbose">
      <start>( V |V\/|V\()</start>
      <end>$</end>
    </context>

    <context id="debug" style-ref="debug">
      <start>( D |D\/|D\()</start>
      <end>$</end>
    </context>

    <context id="info" style-ref="info">
      <start>( I |I\/|I\()</start>
      <end>$</end>
    </context>

    <context id="warning" style-ref="warning">
      <start>( W |W\/|W\()</start>
      <end>$</end>
    </context>

    <context id="error" style-ref="error">
      <start>( E |E\/|E\()</start>
      <end>$</end>
    </context>

    <context id="fatal" style-ref="fatal">
      <start>( F |F\/|F\()</start>
      <end>$</end>
    </context>

    <!-- Main context -->
    <context id="logcat" class="no-spell-check">
      <include>
        <context ref="comment1"/>
        <context ref="comment2"/>
        <context ref="datetime"/>
        <context ref="thread"/>
        <context ref="verbose"/>
        <context ref="debug"/>
        <context ref="info"/>
        <context ref="warning"/>
        <context ref="error"/>
        <context ref="fatal"/>
      </include>
    </context>
  </definitions>
</language>