<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Debian Changelog" version="0.62" kateversion="2.4" section="Other" extensions="" mimetype="">
    <highlighting>
        <list name="keywords">
            <item>urgency</item>
        </list>

        <list name="distributions">
            <item>stable</item>
            <item>testing</item>
            <item>frozen</item>
            <item>unstable</item>
            <item>experimental</item>
        </list>

        <list name="urgencies">
            <item>low</item>
            <item>medium</item>
            <item>high</item>
            <item>emergency</item>
            <item>bug</item>
        </list>

        <contexts>
            <context attribute="Normal Text" lineEndContext="#stay" name="INIT">
                <RegExpr attribute="Keyword" context="Head" String="[^ ]*" column="0"/>
                <RegExpr attribute="Email" context="#stay" String="&lt;.*@.*&gt;"/>
                <RegExpr attribute="Keyword" context="#stay" String=" \-\-" column="0"/>
                <RegExpr attribute="Keyword" context="#stay" String="  \*" column="0"/>
                <RegExpr attribute="Bug" context="#stay" String="[Cc][Ll][Oo][Ss][Ee][Ss]:[\s]*(([Bb][Uu][Gg]\s*)?#\s*\d+)(\s*, *([Bb[Uu][Gg]\s*)?#\s*\d+)*"/>
            </context>

            <context attribute="Normal Text" lineEndContext="#pop" name="Head">
                <DetectChar attribute="Keyword" context="Version" char="("/>
                <RegExpr attribute="Keyword" context="#stay" String="[,;=]"/>
                <keyword attribute="Keyword" context="#stay" String="keywords"/>
                <keyword attribute="Data" context="#stay" String="distributions"/>
                <keyword attribute="Data" context="#stay" String="urgencies"/>
            </context>

            <context attribute="Version" lineEndContext="#pop" name="Version">
                <DetectChar attribute="Keyword" context="#pop" char=")"/>
            </context>
        </contexts>

        <itemDatas>
            <itemData name="Normal Text" defStyleNum="dsNormal"/>
            <itemData name="Keyword"  defStyleNum="dsKeyword"/>
            <itemData name="Version"  defStyleNum="dsDataType"/>
            <itemData name="Data" defStyleNum="dsDataType"/>
            <itemData name="Bug"  defStyleNum="dsDataType"/>
            <itemData name="Email" defStyleNum="dsOthers"/>
        </itemDatas>
    </highlighting>

    <general>
        <keywords casesensitive="1" />
    </general>
</language>
