476 lines
23 KiB
XML
476 lines
23 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE language [
|
|
<!-- same as logfile.xml -->
|
|
<!ENTITY critical "crit|critical|fatal|QFATAL">
|
|
<!ENTITY debug "debug|QDEBUG">
|
|
<!ENTITY error "err|error|fail|failure|QCRITICAL">
|
|
<!ENTITY info "info|information|QINFO">
|
|
<!ENTITY warn "warn|warning|QWARN">
|
|
<!ENTITY firstchars "cdefiqw">
|
|
<!ENTITY search "([^&firstchars;]*+((?!\b(&critical;|&debug;|&error;|&info;|&warn;)\b)[&firstchars;])?)*+">
|
|
|
|
<!ENTITY hex "[0-9a-fA-F]">
|
|
|
|
<!ENTITY date1 "[0-9]{4}-[0-9]{2}-[0-9]{2}">
|
|
<!ENTITY date2 "[0-9]{2}[-/.][0-9]{2}[-/.][0-9]{4}">
|
|
<!ENTITY date3 "(\d+\s+)?\b(January|February|March|April|May|June|July|August|September|October|November|December|(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sept?|Oct|Nov|Dec)\.?)\b\s+[0-9]+\s+">
|
|
|
|
<!ENTITY symbols ":[](){}<>+-=%~*^|&$!@">
|
|
<!ENTITY pathsymbols "/">
|
|
<!ENTITY namespace "[a-zA-Z][-0-9a-zA-Z]*(\.[0-9a-zA-Z]+)+">
|
|
<!ENTITY uuid "&hex;{8}[:-]&hex;{4}[:-]&hex;{4}[:-]&hex;{4}[:-]&hex;{12}">
|
|
<!ENTITY hexdata "(?<!-)\b(&uuid;|&hex;{1,4}([:-]&hex;{0,4}){5,7})\b">
|
|
<!ENTITY path "\b[A-Z]:\\[-:\w.?=&%;/\\]+|(?<![\w.-])(\.{1,3}[/\\]|((https?|s?ftp|ssh|mail|file|resource|wss?)://))[-:\w.?=&%;/\\]+">
|
|
<!ENTITY escapechar "\\x&hex;{2}|\\[uU]&hex;{4,8}|\\[0-7]{3}|\\.">
|
|
<!ENTITY ident "[a-zA-Z][-\w.]*">
|
|
]>
|
|
<language name="Log File (advanced)" section="Other" version="3" kateversion="5.62" extensions="*.log;*.log.*;syslog;syslog.*" priority="-11" author="Jonathan Poelen (jonathan.poelen@gmail.com)" license="MIT">
|
|
<highlighting>
|
|
|
|
<list name="constants">
|
|
<item>true</item>
|
|
<item>false</item>
|
|
<item>nil</item>
|
|
<item>null</item>
|
|
</list>
|
|
|
|
<contexts>
|
|
<context name="Start" lineEndContext="#stay" attribute="Normal" fallthroughContext="Time">
|
|
<DetectChar char="[" attribute="Normal"/>
|
|
<RegExpr String="&date1;|&date2;|&date3;" attribute="Date" context="Time"/>
|
|
</context>
|
|
|
|
<context name="Time" lineEndContext="#pop" attribute="Normal" fallthroughContext="#pop!StartLevel">
|
|
<DetectChar char="T" context="CheckTimeSeparator" lookAhead="1"/>
|
|
<DetectChar char="]" attribute="Normal" context="#pop!StartLevel"/>
|
|
<DetectSpaces/>
|
|
<RegExpr String="[0-9][0-9]:[0-9][0-9]:[0-9][0-9](\.[0-9]+)?" attribute="Time" context="#pop!TimeZone"/>
|
|
</context>
|
|
<context name="CheckTimeSeparator" lineEndContext="#pop" attribute="Normal">
|
|
<DetectChar char="T" context="#pop#pop!StartLevel" column="0" lookAhead="1"/>
|
|
<DetectChar char="T" context="#pop#pop!StartLevel" column="1" lookAhead="1"/>
|
|
<DetectChar char="T" attribute="Time Separator" context="#pop"/>
|
|
</context>
|
|
|
|
<context name="TimeZone" lineEndContext="#pop" attribute="Normal" fallthroughContext="#pop!StartLevel">
|
|
<DetectChar char="]" attribute="Normal" context="#pop!StartLevel"/>
|
|
<AnyChar String="+-Z" attribute="Time Separator"/>
|
|
<RegExpr String="[0-9][0-9]:[0-9][0-9]|[0-9]+" attribute="Time Zone" context="#pop!StartLevel"/>
|
|
</context>
|
|
|
|
<context name="StartLevel" lineEndContext="#pop" attribute="Normal" fallthroughContext="#pop!Normal">
|
|
<DetectSpaces/>
|
|
<DetectChar char="]" attribute="Normal"/>
|
|
<RegExpr String="&search;\b(&info;)\b|" context="#pop!Information" insensitive="1" lookAhead="1"/>
|
|
<RegExpr String="&search;\b(&debug;)\b|" context="#pop!Debug" insensitive="1" lookAhead="1"/>
|
|
<RegExpr String="&search;\b(&warn;)\b|" context="#pop!Warning" insensitive="1" lookAhead="1"/>
|
|
<RegExpr String="&search;\b(&error;)\b|" context="#pop!Error" insensitive="1" lookAhead="1"/>
|
|
<RegExpr String="&search;\b(&critical;)\b|" context="#pop!Critical" insensitive="1" lookAhead="1"/>
|
|
</context>
|
|
|
|
<context name="String" lineEndContext="#stay" attribute="Normal">
|
|
<DetectSpaces/>
|
|
<DetectIdentifier/>
|
|
<Int/>
|
|
</context>
|
|
|
|
<!-- Information -->
|
|
|
|
<context name="Information" lineEndContext="#pop" attribute="Information">
|
|
<DetectSpaces context="InformationAfterSpace" attribute="Information"/>
|
|
<DetectChar char=""" context="#pop!InformationStringDQ" attribute="Information String DoubleQ"/>
|
|
<AnyChar String="&symbols;" attribute="Information Symbol"/>
|
|
<HlCHex attribute="Information Integer"/>
|
|
<RegExpr String="&namespace;" attribute="Information Namespace"/>
|
|
<RegExpr String="&hexdata;" context="InformationHexData" lookAhead="1"/>
|
|
<RegExpr String="[0-9]+(?=(\.[0-9]+){2})" attribute="Information Integer" context="InformationIPv4"/>
|
|
<Float attribute="Information Float" context="InformationSkipPath"/>
|
|
<Int attribute="Information Integer" context="InformationSkipPath"/>
|
|
<RegExpr String="&path;" attribute="Information Path"/>
|
|
<AnyChar String="&pathsymbols;" attribute="Information Symbol"/>
|
|
<keyword String="constants" attribute="Information Constant"/>
|
|
<DetectIdentifier attribute="Information" context="InformationIdent"/>
|
|
</context>
|
|
|
|
<context name="InformationIPv4" lineEndContext="#pop#pop" attribute="Information" fallthroughContext="#pop">
|
|
<Int attribute="Information Integer"/>
|
|
<DetectChar char="." attribute="Information"/>
|
|
</context>
|
|
|
|
<context name="InformationIdent" lineEndContext="#pop#pop" attribute="Information" fallthroughContext="#pop">
|
|
<AnyChar String="-.0123456789" attribute="Information"/>
|
|
<DetectIdentifier attribute="Information"/>
|
|
</context>
|
|
|
|
<context name="InformationSkipPath" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop">
|
|
<DetectChar char="/" context="#pop" attribute="Information Symbol"/>
|
|
</context>
|
|
|
|
<context name="InformationAfterSpace" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop">
|
|
<DetectChar char="'" context="#pop!InformationStringSQ" attribute="Information String SingleQ"/>
|
|
</context>
|
|
|
|
<context name="InformationHexData" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop">
|
|
<RegExpr String="&hex;+" attribute="Information Hexadecimal"/>
|
|
<AnyChar String=":-" attribute="Information Symbol"/>
|
|
</context>
|
|
|
|
<context name="InformationStringSQ" lineEndContext="#pop#pop" attribute="Information String SingleQ">
|
|
<DetectChar char="'" context="#pop" attribute="Information String SingleQ"/>
|
|
<IncludeRules context="String"/>
|
|
</context>
|
|
|
|
<context name="InformationStringDQ" lineEndContext="#pop#pop" attribute="Information String DoubleQ">
|
|
<DetectChar char=""" context="#pop" attribute="Information String DoubleQ"/>
|
|
<IncludeRules context="String"/>
|
|
<RegExpr String="&escapechar;" attribute="Information Escape Char"/>
|
|
</context>
|
|
|
|
<!-- Debug -->
|
|
|
|
<context name="Debug" lineEndContext="#pop" attribute="Debug">
|
|
<DetectSpaces context="DebugAfterSpace" attribute="Debug"/>
|
|
<DetectChar char=""" context="#pop!DebugStringDQ" attribute="Debug String DoubleQ"/>
|
|
<AnyChar String="&symbols;" attribute="Debug Symbol"/>
|
|
<HlCHex attribute="Debug Integer"/>
|
|
<RegExpr String="&namespace;" attribute="Debug Namespace"/>
|
|
<RegExpr String="&hexdata;" context="DebugHexData" lookAhead="1"/>
|
|
<RegExpr String="[0-9]+(?=(\.[0-9]+){2})" attribute="Debug Integer" context="DebugIPv4"/>
|
|
<Float attribute="Debug Float" context="DebugSkipPath"/>
|
|
<Int attribute="Debug Integer" context="DebugSkipPath"/>
|
|
<RegExpr String="&path;" attribute="Debug Path"/>
|
|
<AnyChar String="&pathsymbols;" attribute="Debug Symbol"/>
|
|
<keyword String="constants" attribute="Debug Constant"/>
|
|
<DetectIdentifier attribute="Debug" context="DebugIdent"/>
|
|
</context>
|
|
|
|
<context name="DebugIPv4" lineEndContext="#pop#pop" attribute="Debug" fallthroughContext="#pop">
|
|
<Int attribute="Debug Integer"/>
|
|
<DetectChar char="." attribute="Debug"/>
|
|
</context>
|
|
|
|
<context name="DebugIdent" lineEndContext="#pop#pop" attribute="Debug" fallthroughContext="#pop">
|
|
<AnyChar String="-.0123456789" attribute="Debug"/>
|
|
<DetectIdentifier attribute="Debug"/>
|
|
</context>
|
|
|
|
<context name="DebugSkipPath" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop">
|
|
<DetectChar char="/" context="#pop" attribute="Debug Symbol"/>
|
|
</context>
|
|
|
|
<context name="DebugAfterSpace" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop">
|
|
<DetectChar char="'" context="#pop!DebugStringSQ" attribute="Debug String SingleQ"/>
|
|
</context>
|
|
|
|
<context name="DebugHexData" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop">
|
|
<RegExpr String="&hex;+" attribute="Debug Hexadecimal"/>
|
|
<AnyChar String=":-" attribute="Debug Symbol"/>
|
|
</context>
|
|
|
|
<context name="DebugStringSQ" lineEndContext="#pop#pop" attribute="Debug String SingleQ">
|
|
<DetectChar char="'" context="#pop" attribute="Debug String SingleQ"/>
|
|
<IncludeRules context="String"/>
|
|
</context>
|
|
|
|
<context name="DebugStringDQ" lineEndContext="#pop#pop" attribute="Debug String DoubleQ">
|
|
<DetectChar char=""" context="#pop" attribute="Debug String DoubleQ"/>
|
|
<IncludeRules context="String"/>
|
|
<RegExpr String="&escapechar;" attribute="Debug Escape Char"/>
|
|
</context>
|
|
|
|
<!-- Warning -->
|
|
|
|
<context name="Warning" lineEndContext="#pop" attribute="Warning">
|
|
<DetectSpaces context="WarningAfterSpace" attribute="Warning"/>
|
|
<DetectChar char=""" context="#pop!WarningStringDQ" attribute="Warning String DoubleQ"/>
|
|
<AnyChar String="&symbols;" attribute="Warning Symbol"/>
|
|
<HlCHex attribute="Warning Integer"/>
|
|
<RegExpr String="&namespace;" attribute="Warning Namespace"/>
|
|
<RegExpr String="&hexdata;" context="WarningHexData" lookAhead="1"/>
|
|
<RegExpr String="[0-9]+(?=(\.[0-9]+){2})" attribute="Warning Integer" context="WarningIPv4"/>
|
|
<Float attribute="Warning Float" context="WarningSkipPath"/>
|
|
<Int attribute="Warning Integer" context="WarningSkipPath"/>
|
|
<RegExpr String="&path;" attribute="Warning Path"/>
|
|
<AnyChar String="&pathsymbols;" attribute="Warning Symbol"/>
|
|
<keyword String="constants" attribute="Warning Constant"/>
|
|
<DetectIdentifier attribute="Warning" context="WarningIdent"/>
|
|
</context>
|
|
|
|
<context name="WarningIPv4" lineEndContext="#pop#pop" attribute="Warning" fallthroughContext="#pop">
|
|
<Int attribute="Warning Integer"/>
|
|
<DetectChar char="." attribute="Warning"/>
|
|
</context>
|
|
|
|
<context name="WarningIdent" lineEndContext="#pop#pop" attribute="Warning" fallthroughContext="#pop">
|
|
<AnyChar String="-.0123456789" attribute="Warning"/>
|
|
<DetectIdentifier attribute="Warning"/>
|
|
</context>
|
|
|
|
<context name="WarningSkipPath" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop">
|
|
<DetectChar char="/" context="#pop" attribute="Warning Symbol"/>
|
|
</context>
|
|
|
|
<context name="WarningAfterSpace" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop">
|
|
<DetectChar char="'" context="#pop!WarningStringSQ" attribute="Warning String SingleQ"/>
|
|
</context>
|
|
|
|
<context name="WarningHexData" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop">
|
|
<RegExpr String="&hex;+" attribute="Warning Hexadecimal"/>
|
|
<AnyChar String=":-" attribute="Warning Symbol"/>
|
|
</context>
|
|
|
|
<context name="WarningStringSQ" lineEndContext="#pop#pop" attribute="Warning String SingleQ">
|
|
<DetectChar char="'" context="#pop" attribute="Warning String SingleQ"/>
|
|
<IncludeRules context="String"/>
|
|
</context>
|
|
|
|
<context name="WarningStringDQ" lineEndContext="#pop#pop" attribute="Warning String DoubleQ">
|
|
<DetectChar char=""" context="#pop" attribute="Warning String DoubleQ"/>
|
|
<IncludeRules context="String"/>
|
|
<RegExpr String="&escapechar;" attribute="Warning Escape Char"/>
|
|
</context>
|
|
|
|
<!-- Error -->
|
|
|
|
<context name="Error" lineEndContext="#pop" attribute="Error">
|
|
<DetectSpaces context="ErrorAfterSpace" attribute="Error"/>
|
|
<DetectChar char=""" context="#pop!ErrorStringDQ" attribute="Error String DoubleQ"/>
|
|
<AnyChar String="&symbols;" attribute="Error Symbol"/>
|
|
<HlCHex attribute="Error Integer"/>
|
|
<RegExpr String="&namespace;" attribute="Error Namespace"/>
|
|
<RegExpr String="&hexdata;" context="ErrorHexData" lookAhead="1"/>
|
|
<RegExpr String="[0-9]+(?=(\.[0-9]+){2})" attribute="Error Integer" context="ErrorIPv4"/>
|
|
<Float attribute="Error Float" context="ErrorSkipPath"/>
|
|
<Int attribute="Error Integer" context="ErrorSkipPath"/>
|
|
<RegExpr String="&path;" attribute="Error Path"/>
|
|
<AnyChar String="&pathsymbols;" attribute="Error Symbol"/>
|
|
<keyword String="constants" attribute="Error Constant"/>
|
|
<DetectIdentifier attribute="Error" context="ErrorIdent"/>
|
|
</context>
|
|
|
|
<context name="ErrorIPv4" lineEndContext="#pop#pop" attribute="Error" fallthroughContext="#pop">
|
|
<Int attribute="Error Integer"/>
|
|
<DetectChar char="." attribute="Error"/>
|
|
</context>
|
|
|
|
<context name="ErrorIdent" lineEndContext="#pop#pop" attribute="Error" fallthroughContext="#pop">
|
|
<AnyChar String="-.0123456789" attribute="Error"/>
|
|
<DetectIdentifier attribute="Error"/>
|
|
</context>
|
|
|
|
<context name="ErrorSkipPath" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop">
|
|
<DetectChar char="/" context="#pop" attribute="Error Symbol"/>
|
|
</context>
|
|
|
|
<context name="ErrorAfterSpace" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop">
|
|
<DetectChar char="'" context="#pop!ErrorStringSQ" attribute="Error String SingleQ"/>
|
|
</context>
|
|
|
|
<context name="ErrorHexData" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop">
|
|
<RegExpr String="&hex;+" attribute="Error Hexadecimal"/>
|
|
<AnyChar String=":-" attribute="Error Symbol"/>
|
|
</context>
|
|
|
|
<context name="ErrorStringSQ" lineEndContext="#pop#pop" attribute="Error String SingleQ">
|
|
<DetectChar char="'" context="#pop" attribute="Error String SingleQ"/>
|
|
<IncludeRules context="String"/>
|
|
</context>
|
|
|
|
<context name="ErrorStringDQ" lineEndContext="#pop#pop" attribute="Error String DoubleQ">
|
|
<DetectChar char=""" context="#pop" attribute="Error String DoubleQ"/>
|
|
<IncludeRules context="String"/>
|
|
<RegExpr String="&escapechar;" attribute="Error Escape Char"/>
|
|
</context>
|
|
|
|
<!-- Critical -->
|
|
|
|
<context name="Critical" lineEndContext="#pop" attribute="Critical">
|
|
<DetectSpaces context="CriticalAfterSpace" attribute="Critical"/>
|
|
<DetectChar char=""" context="#pop!CriticalStringDQ" attribute="Critical String DoubleQ"/>
|
|
<AnyChar String="&symbols;" attribute="Critical Symbol"/>
|
|
<HlCHex attribute="Critical Integer"/>
|
|
<RegExpr String="&namespace;" attribute="Critical Namespace"/>
|
|
<RegExpr String="&hexdata;" context="CriticalHexData" lookAhead="1"/>
|
|
<RegExpr String="[0-9]+(?=(\.[0-9]+){2})" attribute="Critical Integer" context="CriticalIPv4"/>
|
|
<Float attribute="Critical Float" context="CriticalSkipPath"/>
|
|
<Int attribute="Critical Integer" context="CriticalSkipPath"/>
|
|
<RegExpr String="&path;" attribute="Critical Path"/>
|
|
<AnyChar String="&pathsymbols;" attribute="Critical Symbol"/>
|
|
<keyword String="constants" attribute="Critical Constant"/>
|
|
<DetectIdentifier attribute="Critical" context="CriticalIdent"/>
|
|
</context>
|
|
|
|
<context name="CriticalIPv4" lineEndContext="#pop#pop" attribute="Critical" fallthroughContext="#pop">
|
|
<Int attribute="Critical Integer"/>
|
|
<DetectChar char="." attribute="Critical"/>
|
|
</context>
|
|
|
|
<context name="CriticalIdent" lineEndContext="#pop#pop" attribute="Critical" fallthroughContext="#pop">
|
|
<AnyChar String="-.0123456789" attribute="Critical"/>
|
|
<DetectIdentifier attribute="Critical"/>
|
|
</context>
|
|
|
|
<context name="CriticalSkipPath" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop">
|
|
<DetectChar char="/" context="#pop" attribute="Critical Symbol"/>
|
|
</context>
|
|
|
|
<context name="CriticalAfterSpace" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop">
|
|
<DetectChar char="'" context="#pop!CriticalStringSQ" attribute="Critical String SingleQ"/>
|
|
</context>
|
|
|
|
<context name="CriticalHexData" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop">
|
|
<RegExpr String="&hex;+" attribute="Critical Hexadecimal"/>
|
|
<AnyChar String=":-" attribute="Critical Symbol"/>
|
|
</context>
|
|
|
|
<context name="CriticalStringSQ" lineEndContext="#pop#pop" attribute="Critical String SingleQ">
|
|
<DetectChar char="'" context="#pop" attribute="Critical String SingleQ"/>
|
|
<IncludeRules context="String"/>
|
|
</context>
|
|
|
|
<context name="CriticalStringDQ" lineEndContext="#pop#pop" attribute="Critical String DoubleQ">
|
|
<DetectChar char=""" context="#pop" attribute="Critical String DoubleQ"/>
|
|
<IncludeRules context="String"/>
|
|
<RegExpr String="&escapechar;" attribute="Critical Escape Char"/>
|
|
</context>
|
|
|
|
<!-- Normal -->
|
|
|
|
<context name="Normal" lineEndContext="#pop" attribute="Normal">
|
|
<DetectSpaces context="NormalAfterSpace" attribute="Normal"/>
|
|
<DetectChar char=""" context="#pop!NormalStringDQ" attribute="Normal String DoubleQ"/>
|
|
<AnyChar String="&symbols;" attribute="Normal Symbol"/>
|
|
<HlCHex attribute="Normal Integer"/>
|
|
<RegExpr String="&namespace;" attribute="Normal Namespace"/>
|
|
<RegExpr String="&hexdata;" context="NormalHexData" lookAhead="1"/>
|
|
<RegExpr String="[0-9]+(?=(\.[0-9]+){2})" attribute="Normal Integer" context="NormalIPv4"/>
|
|
<Float attribute="Normal Float" context="NormalSkipPath"/>
|
|
<Int attribute="Normal Integer" context="NormalSkipPath"/>
|
|
<RegExpr String="&path;" attribute="Normal Path"/>
|
|
<AnyChar String="&pathsymbols;" attribute="Normal Symbol"/>
|
|
<keyword String="constants" attribute="Normal Constant"/>
|
|
<DetectIdentifier attribute="Normal" context="NormalIdent"/>
|
|
</context>
|
|
|
|
<context name="NormalIPv4" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop">
|
|
<Int attribute="Normal Integer"/>
|
|
<DetectChar char="." attribute="Normal"/>
|
|
</context>
|
|
|
|
<context name="NormalIdent" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop">
|
|
<AnyChar String="-.0123456789" attribute="Normal"/>
|
|
<DetectIdentifier attribute="Normal"/>
|
|
</context>
|
|
|
|
<context name="NormalSkipPath" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop">
|
|
<DetectChar char="/" context="#pop" attribute="Normal Symbol"/>
|
|
</context>
|
|
|
|
<context name="NormalAfterSpace" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop">
|
|
<DetectChar char="'" context="#pop!NormalStringSQ" attribute="Normal String SingleQ"/>
|
|
</context>
|
|
|
|
<context name="NormalHexData" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop">
|
|
<RegExpr String="&hex;+" attribute="Normal Hexadecimal"/>
|
|
<AnyChar String=":-" attribute="Normal Symbol"/>
|
|
</context>
|
|
|
|
<context name="NormalStringSQ" lineEndContext="#pop#pop" attribute="Normal String SingleQ">
|
|
<DetectChar char="'" context="#pop" attribute="Normal String SingleQ"/>
|
|
<IncludeRules context="String"/>
|
|
</context>
|
|
|
|
<context name="NormalStringDQ" lineEndContext="#pop#pop" attribute="Normal String DoubleQ">
|
|
<DetectChar char=""" context="#pop" attribute="Normal String DoubleQ"/>
|
|
<IncludeRules context="String"/>
|
|
<RegExpr String="&escapechar;" attribute="Normal Escape Char"/>
|
|
</context>
|
|
|
|
</contexts>
|
|
|
|
<itemDatas>
|
|
<itemData name="Normal" defStyleNum="dsNormal"/>
|
|
<itemData name="Normal Symbol" defStyleNum="dsOperator"/>
|
|
<itemData name="Normal Float" defStyleNum="dsFloat"/>
|
|
<itemData name="Normal Integer" defStyleNum="dsDecVal"/>
|
|
<itemData name="Normal Hexadecimal" defStyleNum="dsBaseN"/>
|
|
<itemData name="Normal Namespace" defStyleNum="dsAttribute"/>
|
|
<itemData name="Normal Constant" defStyleNum="dsVariable"/>
|
|
<itemData name="Normal Path" defStyleNum="dsChar"/>
|
|
<itemData name="Normal String SingleQ" defStyleNum="dsVerbatimString"/>
|
|
<itemData name="Normal String DoubleQ" defStyleNum="dsString"/>
|
|
<itemData name="Normal Escape Char" defStyleNum="dsSpecialChar"/>
|
|
|
|
<itemData name="Information" defStyleNum="dsPreprocessor"/>
|
|
<itemData name="Information Symbol" defStyleNum="dsOperator"/>
|
|
<itemData name="Information Float" defStyleNum="dsFloat"/>
|
|
<itemData name="Information Integer" defStyleNum="dsDecVal"/>
|
|
<itemData name="Information Hexadecimal" defStyleNum="dsBaseN"/>
|
|
<itemData name="Information Namespace" defStyleNum="dsAttribute"/>
|
|
<itemData name="Information Constant" defStyleNum="dsVariable"/>
|
|
<itemData name="Information Path" defStyleNum="dsChar"/>
|
|
<itemData name="Information String SingleQ" defStyleNum="dsVerbatimString"/>
|
|
<itemData name="Information String DoubleQ" defStyleNum="dsString"/>
|
|
<itemData name="Information Escape Char" defStyleNum="dsSpecialChar"/>
|
|
|
|
<itemData name="Warning" defStyleNum="dsInformation"/>
|
|
<itemData name="Warning Symbol" defStyleNum="dsOperator"/>
|
|
<itemData name="Warning Float" defStyleNum="dsFloat"/>
|
|
<itemData name="Warning Integer" defStyleNum="dsDecVal"/>
|
|
<itemData name="Warning Hexadecimal" defStyleNum="dsBaseN"/>
|
|
<itemData name="Warning Namespace" defStyleNum="dsAttribute"/>
|
|
<itemData name="Warning Constant" defStyleNum="dsVariable"/>
|
|
<itemData name="Warning Path" defStyleNum="dsChar"/>
|
|
<itemData name="Warning String SingleQ" defStyleNum="dsVerbatimString"/>
|
|
<itemData name="Warning String DoubleQ" defStyleNum="dsString"/>
|
|
<itemData name="Warning Escape Char" defStyleNum="dsSpecialChar"/>
|
|
|
|
<itemData name="Error" defStyleNum="dsError" underline="0" bold="0"/>
|
|
<itemData name="Error Symbol" defStyleNum="dsOperator"/>
|
|
<itemData name="Error Float" defStyleNum="dsFloat"/>
|
|
<itemData name="Error Integer" defStyleNum="dsDecVal"/>
|
|
<itemData name="Error Hexadecimal" defStyleNum="dsBaseN"/>
|
|
<itemData name="Error Namespace" defStyleNum="dsAttribute"/>
|
|
<itemData name="Error Constant" defStyleNum="dsVariable"/>
|
|
<itemData name="Error Path" defStyleNum="dsChar"/>
|
|
<itemData name="Error String SingleQ" defStyleNum="dsVerbatimString"/>
|
|
<itemData name="Error String DoubleQ" defStyleNum="dsString"/>
|
|
<itemData name="Error Escape Char" defStyleNum="dsSpecialChar"/>
|
|
|
|
<itemData name="Critical" defStyleNum="dsError" bold="1"/>
|
|
<itemData name="Critical Symbol" defStyleNum="dsOperator" bold="1"/>
|
|
<itemData name="Critical Float" defStyleNum="dsFloat"/>
|
|
<itemData name="Critical Integer" defStyleNum="dsDecVal" bold="1"/>
|
|
<itemData name="Critical Hexadecimal" defStyleNum="dsBaseN" bold="1"/>
|
|
<itemData name="Critical Namespace" defStyleNum="dsAttribute" bold="1"/>
|
|
<itemData name="Critical Constant" defStyleNum="dsVariable" bold="1"/>
|
|
<itemData name="Critical Path" defStyleNum="dsChar" bold="1"/>
|
|
<itemData name="Critical String SingleQ" defStyleNum="dsVerbatimString" bold="1"/>
|
|
<itemData name="Critical String DoubleQ" defStyleNum="dsString" bold="1"/>
|
|
<itemData name="Critical Escape Char" defStyleNum="dsSpecialChar" bold="1"/>
|
|
|
|
<itemData name="Debug" defStyleNum="dsDataType"/>
|
|
<itemData name="Debug Symbol" defStyleNum="dsOperator"/>
|
|
<itemData name="Debug Float" defStyleNum="dsFloat"/>
|
|
<itemData name="Debug Integer" defStyleNum="dsDecVal"/>
|
|
<itemData name="Debug Hexadecimal" defStyleNum="dsBaseN"/>
|
|
<itemData name="Debug Namespace" defStyleNum="dsAttribute"/>
|
|
<itemData name="Debug Constant" defStyleNum="dsVariable"/>
|
|
<itemData name="Debug Path" defStyleNum="dsChar"/>
|
|
<itemData name="Debug String SingleQ" defStyleNum="dsVerbatimString"/>
|
|
<itemData name="Debug String DoubleQ" defStyleNum="dsString"/>
|
|
<itemData name="Debug Escape Char" defStyleNum="dsSpecialChar"/>
|
|
|
|
<itemData name="Date" defStyleNum="dsBuiltIn"/>
|
|
<itemData name="Time" defStyleNum="dsExtension"/>
|
|
<itemData name="Time Zone" defStyleNum="dsExtension"/>
|
|
<itemData name="Time Separator" defStyleNum="dsOperator"/>
|
|
</itemDatas>
|
|
</highlighting>
|
|
|
|
<general>
|
|
<keywords casesensitive="0"/>
|
|
</general>
|
|
</language>
|
|
<!-- kate: space-indent on; indent-width 2; replace-tabs on; -->
|