summaryrefslogtreecommitdiffstats
path: root/kate/data/email.xml
blob: a3ef294f23da9dbea1c750e9ee33a6451da22cd8 (plain)
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!--
  Copyright (C) 2005 Carl A Joslin <carl.joslin@joslin.dyndns.org>
-->
<language name="Email" version="1.00" kateversion="2.4" extensions="*.eml" section="Other" mimetype="message/rfc822" casesensitive="0" author="Carl A Joslin (carl.joslin@joslin.dyndns.org)" license="GPL">
  <highlighting>
    <contexts>      
      <context name="headder" attribute="Normal Text" lineEndContext="#stay" casesensitive="0">
        <RegExpr attribute="rfc-main" context="#stay" String="^[Tt]o:.*$"/>
        <RegExpr attribute="rfc-main" context="#stay" String="^[Ff]rom:.*$"/>
        <RegExpr attribute="rfc-main" context="#stay" String="^[Cc][Cc]:.*$"/>
        <RegExpr attribute="rfc-main" context="#stay" String="^[Bb][Cc][Cc]:.*$"/>
        <RegExpr attribute="rfc-main" context="#stay" String="^[Ss]ubject:.*$"/>
        <RegExpr attribute="rfc-main" context="#stay" String="^[Dd]ate:.*$"/>
        
        <RegExpr attribute="rfc" context="#stay" String="^[Ss]ender:"/>
        <RegExpr attribute="rfc" context="#stay" String="^[Rr]eply-[Tt]o:"/>
        <RegExpr attribute="rfc" context="#stay" String="^[Mm]essage-[Ii][Dd]:"/>
        <RegExpr attribute="rfc" context="#stay" String="^[Ii]n-[Rr]eply-[Tt]o:"/>
        <RegExpr attribute="rfc" context="#stay" String="^[Rr]eferences:"/>
        <RegExpr attribute="rfc" context="#stay" String="^[Cc]omments:"/>
        <RegExpr attribute="rfc" context="#stay" String="^[Kk]eywors:"/>
        <RegExpr attribute="rfc" context="#stay" String="^[Rr]esent-[Dd]ate:"/>
        <RegExpr attribute="rfc" context="#stay" String="^[Rr]esent-[Ff]rom:"/>
        <RegExpr attribute="rfc" context="#stay" String="^[Rr]esent-[Ss]ender:"/>
        <RegExpr attribute="rfc" context="#stay" String="^[Rr]esent-[Tt]o:"/>
        <RegExpr attribute="rfc" context="#stay" String="^[Rr]esent-[Cc][Cc]:"/>
        <RegExpr attribute="rfc" context="#stay" String="^[Rr]esent-[Bb][Cc][Cc]:"/>
        <RegExpr attribute="rfc" context="#stay" String="^[Rr]esent-[Mm]essage-[Ii][Dd]:"/>
        <RegExpr attribute="rfc" context="#stay" String="^[Rr]esent-[Rr]eply-[Tt]o:"/>
        <RegExpr attribute="rfc" context="#stay" String="^[Rr]eturn-[Pp]ath:"/>
        <RegExpr attribute="rfc" context="#stay" String="^[Rr]eceived:"/>
        
        <RegExpr attribute="common" context="#stay" String="^[Xx]-[Mm]ozilla-[Ss]tatus:"/>
        <RegExpr attribute="common" context="#stay" String="^[Xx]-[Mm]ozilla-[Ss]tatus2:"/>
        <RegExpr attribute="common" context="#stay" String="^[Ee]nverlope-[Tt]o:"/>
        <RegExpr attribute="common" context="#stay" String="^[Dd]elivery-[Dd]ate:"/>
        <RegExpr attribute="common" context="#stay" String="^[Xx]-[Oo]riginating-[Ii][Pp]:"/>
        <RegExpr attribute="common" context="#stay" String="^[Xx]-[Oo]riginating-[Ee]mail:"/>
        <RegExpr attribute="common" context="#stay" String="^[Xx]-[Ss]ender:"/>
        <RegExpr attribute="common" context="#stay" String="^[Mm]ime-[Vv]ersion:"/>
        <RegExpr attribute="common" context="#stay" String="^[Cc]ontent-[Tt]ype:"/>
        <RegExpr attribute="common" context="#stay" String="^[Xx]-[Mm]ailing-[Ll]ist:"/>
        <RegExpr attribute="common" context="#stay" String="^[Xx]-[Ll]oop:"/>
        <RegExpr attribute="common" context="#stay" String="^[Ll]ist-[Pp]ost:"/>
        <RegExpr attribute="common" context="#stay" String="^[Ll]ist-[Hh]elp:"/>
        <RegExpr attribute="common" context="#stay" String="^[Ll]ist-[Uu]nsubscribe:"/>
        <RegExpr attribute="common" context="#stay" String="^[Pp]recedence:"/>
        <RegExpr attribute="common" context="#stay" String="^[Cc]ontent-[Tt]ransfer-[Ee]ncoding:"/>
        <RegExpr attribute="common" context="#stay" String="^[Cc]ontent-[Tt]ype:"/>
        <RegExpr attribute="common" context="#stay" String="^[Xx]-[Bb]ulkmail:"/>
        <RegExpr attribute="common" context="#stay" String="^[Pp]recedence:"/>
        <RegExpr attribute="common" context="#stay" String="^[Cc]ontent-[Dd]isposition:"/>
        
        <RegExpr attribute="other" context="#stay" String="^[0-9a-zA-Z-.]+:"/>
        
        <RegExpr attribute="email" context="#stay" String='[a-zA-Z0-9.\-]+\@[a-zA-Z0-9.\-]+'/>
        <RegExpr attribute="email" context="#stay" String='[a-zA-Z0-9.\-]*\s*&lt;[a-zA-Z0-9.\-]+\@[a-zA-Z0-9.\-]+&gt;'/>
        <RegExpr attribute="email" context="#stay" String='"[a-zA-Z0-9. \-]+"\s*&lt;[a-zA-Z0-9.\-]+\@[a-zA-Z0-9.\-]+&gt;'/>
        
        <RegExpr attribute="string" context="#stay" String='".*"'/>
        <RegExpr attribute="string" context="#stay" String="'.*'"/>
        
        <!--<RegExpr attribute="sign" context="sign" String="^[|&gt;]*[\s_-]*[_-][_-][\s_-]*$"/>-->
        
        <RegExpr attribute="indent6" context="#stay" String="^[|>]\s*[|>]\s*[|>]\s*[|>]\s*[|>]\s*[|>].*"/>
        <RegExpr attribute="indent5" context="#stay" String="^[|>]\s*[|>]\s*[|>]\s*[|>]\s*[|>].*"/>
        <RegExpr attribute="indent4" context="#stay" String="^[|>]\s*[|>]\s*[|>]\s*[|>].*"/>
        <RegExpr attribute="indent3" context="#stay" String="^[|>]\s*[|>]\s*[|>].*"/>
        <RegExpr attribute="indent2" context="#stay" String="^[|>]\s*[|>].*"/>
        <RegExpr attribute="indent1" context="#stay" String="^[|>].*"/>
        
        <RegExpr attribute="base64" context="#stay" String="^([A-Za-z0-9+/][A-Za-z0-9+/][A-Za-z0-9+/][A-Za-z0-9+/]){10,20}$"/>
        <RegExpr attribute="base64" context="#stay" String="^[A-Za-z0-9+=/]+=$"/>
        
        <RegExpr attribute="marker" context="#stay" String="^(- )?--(--.*)?"/>
      </context>
    </contexts>
    <itemDatas>
      <itemData name="Normal Text" defStyleNum="dsNormal"/>
      <itemData name="rfc" color="darkgreen"/>
      <itemData name="rfc-main" bold="1" color="darkgreen" defStyleNum="dsAlert"/>
      <itemData name="common" color="gold"/>
      <itemData name="other" color="red"/>
      <itemData name="email" color="blue"/>
      <itemData name="string" defStyleNum="dsString"/>
      
      <itemData name="base64" defStyleNum="dsRegionMarker"/>
      <itemData name="marker" defStyleNum="dsAlert"/>
      
      <itemData name="indent1" bold="1" color="red"/>
      <itemData name="indent2" bold="1" color="green"/>
      <itemData name="indent3" bold="1" color="blue"/>
      <itemData name="indent4" bold="1" color="cyan"/>
      <itemData name="indent5" bold="1" color="magenta"/>
      <itemData name="indent6" bold="1" color="yellow"/>
      
      
      <itemData name="sign" defStyleNum="dsComment"/>
    </itemDatas>
  </highlighting>
  <general>
    <keywords casesensitive="0" />
  </general>
</language>