| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!DOCTYPE language [ |
| 3 |
<!-- same as logfile.xml --> |
| 4 |
<!ENTITY critical "crit|critical|fatal|QFATAL"> |
| 5 |
<!ENTITY debug "debug|QDEBUG"> |
| 6 |
<!ENTITY error "err|error|fail|failure|QCRITICAL"> |
| 7 |
<!ENTITY info "info|information|QINFO"> |
| 8 |
<!ENTITY warn "warn|warning|QWARN"> |
| 9 |
<!ENTITY firstchars "cdefiqw"> |
| 10 |
<!ENTITY search "([^&firstchars;]*+((?!\b(&critical;|&debug;|&error;|&info;|&warn;)\b)[&firstchars;])?)*+"> |
| 11 |
|
| 12 |
<!ENTITY hex "[0-9a-fA-F]"> |
| 13 |
|
| 14 |
<!ENTITY date1 "[0-9]{4}-[0-9]{2}-[0-9]{2}"> |
| 15 |
<!ENTITY date2 "[0-9]{2}[-/.][0-9]{2}[-/.][0-9]{4}"> |
| 16 |
<!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+"> |
| 17 |
|
| 18 |
<!ENTITY symbols ":[](){}<>+-=%~*^|&$!@"> |
| 19 |
<!ENTITY pathsymbols "/"> |
| 20 |
<!ENTITY namespace "[a-zA-Z][-0-9a-zA-Z]*(\.[0-9a-zA-Z]+)+"> |
| 21 |
<!ENTITY uuid "&hex;{8}[:-]&hex;{4}[:-]&hex;{4}[:-]&hex;{4}[:-]&hex;{12}"> |
| 22 |
<!ENTITY hexdata "(?<!-)\b(&uuid;|&hex;{1,4}([:-]&hex;{0,4}){5,7})\b"> |
| 23 |
<!ENTITY path "\b[A-Z]:\\[-:\w.?=&%;/\\]+|(?<![\w.-])(\.{1,3}[/\\]|((https?|s?ftp|ssh|mail|file|resource|wss?)://))[-:\w.?=&%;/\\]+"> |
| 24 |
<!ENTITY escapechar "\\x&hex;{2}|\\[uU]&hex;{4,8}|\\[0-7]{3}|\\."> |
| 25 |
<!ENTITY ident "[a-zA-Z][-\w.]*"> |
| 26 |
]> |
| 27 |
<language name="Log File (advanced)" section="Other" version="2" kateversion="5.62" extensions="*.log" priority="4" author="Jonathan Poelen ([email protected])" license="MIT"> |
| 28 |
<highlighting> |
| 29 |
|
| 30 |
<list name="constants"> |
| 31 |
<item>true</item> |
| 32 |
<item>false</item> |
| 33 |
<item>nil</item> |
| 34 |
<item>null</item> |
| 35 |
</list> |
| 36 |
|
| 37 |
<contexts> |
| 38 |
<context name="Start" lineEndContext="#stay" attribute="Normal" fallthroughContext="Time"> |
| 39 |
<DetectChar char="[" attribute="Normal"/> |
| 40 |
<RegExpr String="&date1;|&date2;|&date3;" attribute="Date" context="Time"/> |
| 41 |
</context> |
| 42 |
|
| 43 |
<context name="Time" lineEndContext="#pop" attribute="Normal" fallthroughContext="#pop!StartLevel"> |
| 44 |
<DetectChar char="T" context="CheckTimeSeparator" lookAhead="1"/> |
| 45 |
<DetectChar char="]" attribute="Normal" context="#pop!StartLevel"/> |
| 46 |
<DetectSpaces/> |
| 47 |
<RegExpr String="[0-9][0-9]:[0-9][0-9]:[0-9][0-9](\.[0-9]+)?" attribute="Time" context="#pop!TimeZone"/> |
| 48 |
</context> |
| 49 |
<context name="CheckTimeSeparator" lineEndContext="#pop" attribute="Normal"> |
| 50 |
<DetectChar char="T" context="#pop#pop!StartLevel" column="0" lookAhead="1"/> |
| 51 |
<DetectChar char="T" context="#pop#pop!StartLevel" column="1" lookAhead="1"/> |
| 52 |
<DetectChar char="T" attribute="Time Separator" context="#pop"/> |
| 53 |
</context> |
| 54 |
|
| 55 |
<context name="TimeZone" lineEndContext="#pop" attribute="Normal" fallthroughContext="#pop!StartLevel"> |
| 56 |
<DetectChar char="]" attribute="Normal" context="#pop!StartLevel"/> |
| 57 |
<AnyChar String="+-Z" attribute="Time Separator"/> |
| 58 |
<RegExpr String="[0-9][0-9]:[0-9][0-9]|[0-9]+" attribute="Time Zone" context="#pop!StartLevel"/> |
| 59 |
</context> |
| 60 |
|
| 61 |
<context name="StartLevel" lineEndContext="#pop" attribute="Normal" fallthroughContext="#pop!Normal"> |
| 62 |
<DetectSpaces/> |
| 63 |
<DetectChar char="]" attribute="Normal"/> |
| 64 |
<RegExpr String="&search;\b(&info;)\b|" context="#pop!Information" insensitive="1" lookAhead="1"/> |
| 65 |
<RegExpr String="&search;\b(&debug;)\b|" context="#pop!Debug" insensitive="1" lookAhead="1"/> |
| 66 |
<RegExpr String="&search;\b(&warn;)\b|" context="#pop!Warning" insensitive="1" lookAhead="1"/> |
| 67 |
<RegExpr String="&search;\b(&error;)\b|" context="#pop!Error" insensitive="1" lookAhead="1"/> |
| 68 |
<RegExpr String="&search;\b(&critical;)\b|" context="#pop!Critical" insensitive="1" lookAhead="1"/> |
| 69 |
</context> |
| 70 |
|
| 71 |
<context name="String" lineEndContext="#stay" attribute="Normal"> |
| 72 |
<DetectSpaces/> |
| 73 |
<DetectIdentifier/> |
| 74 |
<Int/> |
| 75 |
</context> |
| 76 |
|
| 77 |
<!-- Information --> |
| 78 |
|
| 79 |
<context name="Information" lineEndContext="#pop" attribute="Information"> |
| 80 |
<DetectSpaces context="InformationAfterSpace" attribute="Information"/> |
| 81 |
<DetectChar char=""" context="#pop!InformationStringDQ" attribute="Information String DoubleQ"/> |
| 82 |
<AnyChar String="&symbols;" attribute="Information Symbol"/> |
| 83 |
<HlCHex attribute="Information Integer"/> |
| 84 |
<RegExpr String="&namespace;" attribute="Information Namespace"/> |
| 85 |
<RegExpr String="&hexdata;" context="InformationHexData" lookAhead="1"/> |
| 86 |
<RegExpr String="[0-9]+(?=(\.[0-9]+){2})" attribute="Information Integer" context="InformationIPv4"/> |
| 87 |
<Float attribute="Information Float" context="InformationSkipPath"/> |
| 88 |
<Int attribute="Information Integer" context="InformationSkipPath"/> |
| 89 |
<RegExpr String="&path;" attribute="Information Path"/> |
| 90 |
<AnyChar String="&pathsymbols;" attribute="Information Symbol"/> |
| 91 |
<keyword String="constants" attribute="Information Constant"/> |
| 92 |
<DetectIdentifier attribute="Information" context="InformationIdent"/> |
| 93 |
</context> |
| 94 |
|
| 95 |
<context name="InformationIPv4" lineEndContext="#pop#pop" attribute="Information" fallthroughContext="#pop"> |
| 96 |
<Int attribute="Information Integer"/> |
| 97 |
<DetectChar char="." attribute="Information"/> |
| 98 |
</context> |
| 99 |
|
| 100 |
<context name="InformationIdent" lineEndContext="#pop#pop" attribute="Information" fallthroughContext="#pop"> |
| 101 |
<AnyChar String="-.0123456789" attribute="Information"/> |
| 102 |
<DetectIdentifier attribute="Information"/> |
| 103 |
</context> |
| 104 |
|
| 105 |
<context name="InformationSkipPath" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop"> |
| 106 |
<DetectChar char="/" context="#pop" attribute="Information Symbol"/> |
| 107 |
</context> |
| 108 |
|
| 109 |
<context name="InformationAfterSpace" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop"> |
| 110 |
<DetectChar char="'" context="#pop!InformationStringSQ" attribute="Information String SingleQ"/> |
| 111 |
</context> |
| 112 |
|
| 113 |
<context name="InformationHexData" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop"> |
| 114 |
<RegExpr String="&hex;+" attribute="Information Hexadecimal"/> |
| 115 |
<AnyChar String=":-" attribute="Information Symbol"/> |
| 116 |
</context> |
| 117 |
|
| 118 |
<context name="InformationStringSQ" lineEndContext="#pop#pop" attribute="Information String SingleQ"> |
| 119 |
<DetectChar char="'" context="#pop" attribute="Information String SingleQ"/> |
| 120 |
<IncludeRules context="String"/> |
| 121 |
</context> |
| 122 |
|
| 123 |
<context name="InformationStringDQ" lineEndContext="#pop#pop" attribute="Information String DoubleQ"> |
| 124 |
<DetectChar char=""" context="#pop" attribute="Information String DoubleQ"/> |
| 125 |
<IncludeRules context="String"/> |
| 126 |
<RegExpr String="&escapechar;" attribute="Information Escape Char"/> |
| 127 |
</context> |
| 128 |
|
| 129 |
<!-- Debug --> |
| 130 |
|
| 131 |
<context name="Debug" lineEndContext="#pop" attribute="Debug"> |
| 132 |
<DetectSpaces context="DebugAfterSpace" attribute="Debug"/> |
| 133 |
<DetectChar char=""" context="#pop!DebugStringDQ" attribute="Debug String DoubleQ"/> |
| 134 |
<AnyChar String="&symbols;" attribute="Debug Symbol"/> |
| 135 |
<HlCHex attribute="Debug Integer"/> |
| 136 |
<RegExpr String="&namespace;" attribute="Debug Namespace"/> |
| 137 |
<RegExpr String="&hexdata;" context="DebugHexData" lookAhead="1"/> |
| 138 |
<RegExpr String="[0-9]+(?=(\.[0-9]+){2})" attribute="Debug Integer" context="DebugIPv4"/> |
| 139 |
<Float attribute="Debug Float" context="DebugSkipPath"/> |
| 140 |
<Int attribute="Debug Integer" context="DebugSkipPath"/> |
| 141 |
<RegExpr String="&path;" attribute="Debug Path"/> |
| 142 |
<AnyChar String="&pathsymbols;" attribute="Debug Symbol"/> |
| 143 |
<keyword String="constants" attribute="Debug Constant"/> |
| 144 |
<DetectIdentifier attribute="Debug" context="DebugIdent"/> |
| 145 |
</context> |
| 146 |
|
| 147 |
<context name="DebugIPv4" lineEndContext="#pop#pop" attribute="Debug" fallthroughContext="#pop"> |
| 148 |
<Int attribute="Debug Integer"/> |
| 149 |
<DetectChar char="." attribute="Debug"/> |
| 150 |
</context> |
| 151 |
|
| 152 |
<context name="DebugIdent" lineEndContext="#pop#pop" attribute="Debug" fallthroughContext="#pop"> |
| 153 |
<AnyChar String="-.0123456789" attribute="Debug"/> |
| 154 |
<DetectIdentifier attribute="Debug"/> |
| 155 |
</context> |
| 156 |
|
| 157 |
<context name="DebugSkipPath" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop"> |
| 158 |
<DetectChar char="/" context="#pop" attribute="Debug Symbol"/> |
| 159 |
</context> |
| 160 |
|
| 161 |
<context name="DebugAfterSpace" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop"> |
| 162 |
<DetectChar char="'" context="#pop!DebugStringSQ" attribute="Debug String SingleQ"/> |
| 163 |
</context> |
| 164 |
|
| 165 |
<context name="DebugHexData" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop"> |
| 166 |
<RegExpr String="&hex;+" attribute="Debug Hexadecimal"/> |
| 167 |
<AnyChar String=":-" attribute="Debug Symbol"/> |
| 168 |
</context> |
| 169 |
|
| 170 |
<context name="DebugStringSQ" lineEndContext="#pop#pop" attribute="Debug String SingleQ"> |
| 171 |
<DetectChar char="'" context="#pop" attribute="Debug String SingleQ"/> |
| 172 |
<IncludeRules context="String"/> |
| 173 |
</context> |
| 174 |
|
| 175 |
<context name="DebugStringDQ" lineEndContext="#pop#pop" attribute="Debug String DoubleQ"> |
| 176 |
<DetectChar char=""" context="#pop" attribute="Debug String DoubleQ"/> |
| 177 |
<IncludeRules context="String"/> |
| 178 |
<RegExpr String="&escapechar;" attribute="Debug Escape Char"/> |
| 179 |
</context> |
| 180 |
|
| 181 |
<!-- Warning --> |
| 182 |
|
| 183 |
<context name="Warning" lineEndContext="#pop" attribute="Warning"> |
| 184 |
<DetectSpaces context="WarningAfterSpace" attribute="Warning"/> |
| 185 |
<DetectChar char=""" context="#pop!WarningStringDQ" attribute="Warning String DoubleQ"/> |
| 186 |
<AnyChar String="&symbols;" attribute="Warning Symbol"/> |
| 187 |
<HlCHex attribute="Warning Integer"/> |
| 188 |
<RegExpr String="&namespace;" attribute="Warning Namespace"/> |
| 189 |
<RegExpr String="&hexdata;" context="WarningHexData" lookAhead="1"/> |
| 190 |
<RegExpr String="[0-9]+(?=(\.[0-9]+){2})" attribute="Warning Integer" context="WarningIPv4"/> |
| 191 |
<Float attribute="Warning Float" context="WarningSkipPath"/> |
| 192 |
<Int attribute="Warning Integer" context="WarningSkipPath"/> |
| 193 |
<RegExpr String="&path;" attribute="Warning Path"/> |
| 194 |
<AnyChar String="&pathsymbols;" attribute="Warning Symbol"/> |
| 195 |
<keyword String="constants" attribute="Warning Constant"/> |
| 196 |
<DetectIdentifier attribute="Warning" context="WarningIdent"/> |
| 197 |
</context> |
| 198 |
|
| 199 |
<context name="WarningIPv4" lineEndContext="#pop#pop" attribute="Warning" fallthroughContext="#pop"> |
| 200 |
<Int attribute="Warning Integer"/> |
| 201 |
<DetectChar char="." attribute="Warning"/> |
| 202 |
</context> |
| 203 |
|
| 204 |
<context name="WarningIdent" lineEndContext="#pop#pop" attribute="Warning" fallthroughContext="#pop"> |
| 205 |
<AnyChar String="-.0123456789" attribute="Warning"/> |
| 206 |
<DetectIdentifier attribute="Warning"/> |
| 207 |
</context> |
| 208 |
|
| 209 |
<context name="WarningSkipPath" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop"> |
| 210 |
<DetectChar char="/" context="#pop" attribute="Warning Symbol"/> |
| 211 |
</context> |
| 212 |
|
| 213 |
<context name="WarningAfterSpace" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop"> |
| 214 |
<DetectChar char="'" context="#pop!WarningStringSQ" attribute="Warning String SingleQ"/> |
| 215 |
</context> |
| 216 |
|
| 217 |
<context name="WarningHexData" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop"> |
| 218 |
<RegExpr String="&hex;+" attribute="Warning Hexadecimal"/> |
| 219 |
<AnyChar String=":-" attribute="Warning Symbol"/> |
| 220 |
</context> |
| 221 |
|
| 222 |
<context name="WarningStringSQ" lineEndContext="#pop#pop" attribute="Warning String SingleQ"> |
| 223 |
<DetectChar char="'" context="#pop" attribute="Warning String SingleQ"/> |
| 224 |
<IncludeRules context="String"/> |
| 225 |
</context> |
| 226 |
|
| 227 |
<context name="WarningStringDQ" lineEndContext="#pop#pop" attribute="Warning String DoubleQ"> |
| 228 |
<DetectChar char=""" context="#pop" attribute="Warning String DoubleQ"/> |
| 229 |
<IncludeRules context="String"/> |
| 230 |
<RegExpr String="&escapechar;" attribute="Warning Escape Char"/> |
| 231 |
</context> |
| 232 |
|
| 233 |
<!-- Error --> |
| 234 |
|
| 235 |
<context name="Error" lineEndContext="#pop" attribute="Error"> |
| 236 |
<DetectSpaces context="ErrorAfterSpace" attribute="Error"/> |
| 237 |
<DetectChar char=""" context="#pop!ErrorStringDQ" attribute="Error String DoubleQ"/> |
| 238 |
<AnyChar String="&symbols;" attribute="Error Symbol"/> |
| 239 |
<HlCHex attribute="Error Integer"/> |
| 240 |
<RegExpr String="&namespace;" attribute="Error Namespace"/> |
| 241 |
<RegExpr String="&hexdata;" context="ErrorHexData" lookAhead="1"/> |
| 242 |
<RegExpr String="[0-9]+(?=(\.[0-9]+){2})" attribute="Error Integer" context="ErrorIPv4"/> |
| 243 |
<Float attribute="Error Float" context="ErrorSkipPath"/> |
| 244 |
<Int attribute="Error Integer" context="ErrorSkipPath"/> |
| 245 |
<RegExpr String="&path;" attribute="Error Path"/> |
| 246 |
<AnyChar String="&pathsymbols;" attribute="Error Symbol"/> |
| 247 |
<keyword String="constants" attribute="Error Constant"/> |
| 248 |
<DetectIdentifier attribute="Error" context="ErrorIdent"/> |
| 249 |
</context> |
| 250 |
|
| 251 |
<context name="ErrorIPv4" lineEndContext="#pop#pop" attribute="Error" fallthroughContext="#pop"> |
| 252 |
<Int attribute="Error Integer"/> |
| 253 |
<DetectChar char="." attribute="Error"/> |
| 254 |
</context> |
| 255 |
|
| 256 |
<context name="ErrorIdent" lineEndContext="#pop#pop" attribute="Error" fallthroughContext="#pop"> |
| 257 |
<AnyChar String="-.0123456789" attribute="Error"/> |
| 258 |
<DetectIdentifier attribute="Error"/> |
| 259 |
</context> |
| 260 |
|
| 261 |
<context name="ErrorSkipPath" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop"> |
| 262 |
<DetectChar char="/" context="#pop" attribute="Error Symbol"/> |
| 263 |
</context> |
| 264 |
|
| 265 |
<context name="ErrorAfterSpace" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop"> |
| 266 |
<DetectChar char="'" context="#pop!ErrorStringSQ" attribute="Error String SingleQ"/> |
| 267 |
</context> |
| 268 |
|
| 269 |
<context name="ErrorHexData" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop"> |
| 270 |
<RegExpr String="&hex;+" attribute="Error Hexadecimal"/> |
| 271 |
<AnyChar String=":-" attribute="Error Symbol"/> |
| 272 |
</context> |
| 273 |
|
| 274 |
<context name="ErrorStringSQ" lineEndContext="#pop#pop" attribute="Error String SingleQ"> |
| 275 |
<DetectChar char="'" context="#pop" attribute="Error String SingleQ"/> |
| 276 |
<IncludeRules context="String"/> |
| 277 |
</context> |
| 278 |
|
| 279 |
<context name="ErrorStringDQ" lineEndContext="#pop#pop" attribute="Error String DoubleQ"> |
| 280 |
<DetectChar char=""" context="#pop" attribute="Error String DoubleQ"/> |
| 281 |
<IncludeRules context="String"/> |
| 282 |
<RegExpr String="&escapechar;" attribute="Error Escape Char"/> |
| 283 |
</context> |
| 284 |
|
| 285 |
<!-- Critical --> |
| 286 |
|
| 287 |
<context name="Critical" lineEndContext="#pop" attribute="Critical"> |
| 288 |
<DetectSpaces context="CriticalAfterSpace" attribute="Critical"/> |
| 289 |
<DetectChar char=""" context="#pop!CriticalStringDQ" attribute="Critical String DoubleQ"/> |
| 290 |
<AnyChar String="&symbols;" attribute="Critical Symbol"/> |
| 291 |
<HlCHex attribute="Critical Integer"/> |
| 292 |
<RegExpr String="&namespace;" attribute="Critical Namespace"/> |
| 293 |
<RegExpr String="&hexdata;" context="CriticalHexData" lookAhead="1"/> |
| 294 |
<RegExpr String="[0-9]+(?=(\.[0-9]+){2})" attribute="Critical Integer" context="CriticalIPv4"/> |
| 295 |
<Float attribute="Critical Float" context="CriticalSkipPath"/> |
| 296 |
<Int attribute="Critical Integer" context="CriticalSkipPath"/> |
| 297 |
<RegExpr String="&path;" attribute="Critical Path"/> |
| 298 |
<AnyChar String="&pathsymbols;" attribute="Critical Symbol"/> |
| 299 |
<keyword String="constants" attribute="Critical Constant"/> |
| 300 |
<DetectIdentifier attribute="Critical" context="CriticalIdent"/> |
| 301 |
</context> |
| 302 |
|
| 303 |
<context name="CriticalIPv4" lineEndContext="#pop#pop" attribute="Critical" fallthroughContext="#pop"> |
| 304 |
<Int attribute="Critical Integer"/> |
| 305 |
<DetectChar char="." attribute="Critical"/> |
| 306 |
</context> |
| 307 |
|
| 308 |
<context name="CriticalIdent" lineEndContext="#pop#pop" attribute="Critical" fallthroughContext="#pop"> |
| 309 |
<AnyChar String="-.0123456789" attribute="Critical"/> |
| 310 |
<DetectIdentifier attribute="Critical"/> |
| 311 |
</context> |
| 312 |
|
| 313 |
<context name="CriticalSkipPath" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop"> |
| 314 |
<DetectChar char="/" context="#pop" attribute="Critical Symbol"/> |
| 315 |
</context> |
| 316 |
|
| 317 |
<context name="CriticalAfterSpace" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop"> |
| 318 |
<DetectChar char="'" context="#pop!CriticalStringSQ" attribute="Critical String SingleQ"/> |
| 319 |
</context> |
| 320 |
|
| 321 |
<context name="CriticalHexData" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop"> |
| 322 |
<RegExpr String="&hex;+" attribute="Critical Hexadecimal"/> |
| 323 |
<AnyChar String=":-" attribute="Critical Symbol"/> |
| 324 |
</context> |
| 325 |
|
| 326 |
<context name="CriticalStringSQ" lineEndContext="#pop#pop" attribute="Critical String SingleQ"> |
| 327 |
<DetectChar char="'" context="#pop" attribute="Critical String SingleQ"/> |
| 328 |
<IncludeRules context="String"/> |
| 329 |
</context> |
| 330 |
|
| 331 |
<context name="CriticalStringDQ" lineEndContext="#pop#pop" attribute="Critical String DoubleQ"> |
| 332 |
<DetectChar char=""" context="#pop" attribute="Critical String DoubleQ"/> |
| 333 |
<IncludeRules context="String"/> |
| 334 |
<RegExpr String="&escapechar;" attribute="Critical Escape Char"/> |
| 335 |
</context> |
| 336 |
|
| 337 |
<!-- Normal --> |
| 338 |
|
| 339 |
<context name="Normal" lineEndContext="#pop" attribute="Normal"> |
| 340 |
<DetectSpaces context="NormalAfterSpace" attribute="Normal"/> |
| 341 |
<DetectChar char=""" context="#pop!NormalStringDQ" attribute="Normal String DoubleQ"/> |
| 342 |
<AnyChar String="&symbols;" attribute="Normal Symbol"/> |
| 343 |
<HlCHex attribute="Normal Integer"/> |
| 344 |
<RegExpr String="&namespace;" attribute="Normal Namespace"/> |
| 345 |
<RegExpr String="&hexdata;" context="NormalHexData" lookAhead="1"/> |
| 346 |
<RegExpr String="[0-9]+(?=(\.[0-9]+){2})" attribute="Normal Integer" context="NormalIPv4"/> |
| 347 |
<Float attribute="Normal Float" context="NormalSkipPath"/> |
| 348 |
<Int attribute="Normal Integer" context="NormalSkipPath"/> |
| 349 |
<RegExpr String="&path;" attribute="Normal Path"/> |
| 350 |
<AnyChar String="&pathsymbols;" attribute="Normal Symbol"/> |
| 351 |
<keyword String="constants" attribute="Normal Constant"/> |
| 352 |
<DetectIdentifier attribute="Normal" context="NormalIdent"/> |
| 353 |
</context> |
| 354 |
|
| 355 |
<context name="NormalIPv4" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop"> |
| 356 |
<Int attribute="Normal Integer"/> |
| 357 |
<DetectChar char="." attribute="Normal"/> |
| 358 |
</context> |
| 359 |
|
| 360 |
<context name="NormalIdent" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop"> |
| 361 |
<AnyChar String="-.0123456789" attribute="Normal"/> |
| 362 |
<DetectIdentifier attribute="Normal"/> |
| 363 |
</context> |
| 364 |
|
| 365 |
<context name="NormalSkipPath" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop"> |
| 366 |
<DetectChar char="/" context="#pop" attribute="Normal Symbol"/> |
| 367 |
</context> |
| 368 |
|
| 369 |
<context name="NormalAfterSpace" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop"> |
| 370 |
<DetectChar char="'" context="#pop!NormalStringSQ" attribute="Normal String SingleQ"/> |
| 371 |
</context> |
| 372 |
|
| 373 |
<context name="NormalHexData" lineEndContext="#pop#pop" attribute="Normal" fallthroughContext="#pop"> |
| 374 |
<RegExpr String="&hex;+" attribute="Normal Hexadecimal"/> |
| 375 |
<AnyChar String=":-" attribute="Normal Symbol"/> |
| 376 |
</context> |
| 377 |
|
| 378 |
<context name="NormalStringSQ" lineEndContext="#pop#pop" attribute="Normal String SingleQ"> |
| 379 |
<DetectChar char="'" context="#pop" attribute="Normal String SingleQ"/> |
| 380 |
<IncludeRules context="String"/> |
| 381 |
</context> |
| 382 |
|
| 383 |
<context name="NormalStringDQ" lineEndContext="#pop#pop" attribute="Normal String DoubleQ"> |
| 384 |
<DetectChar char=""" context="#pop" attribute="Normal String DoubleQ"/> |
| 385 |
<IncludeRules context="String"/> |
| 386 |
<RegExpr String="&escapechar;" attribute="Normal Escape Char"/> |
| 387 |
</context> |
| 388 |
|
| 389 |
</contexts> |
| 390 |
|
| 391 |
<itemDatas> |
| 392 |
<itemData name="Normal" defStyleNum="dsNormal"/> |
| 393 |
<itemData name="Normal Symbol" defStyleNum="dsOperator"/> |
| 394 |
<itemData name="Normal Float" defStyleNum="dsFloat"/> |
| 395 |
<itemData name="Normal Integer" defStyleNum="dsDecVal"/> |
| 396 |
<itemData name="Normal Hexadecimal" defStyleNum="dsBaseN"/> |
| 397 |
<itemData name="Normal Namespace" defStyleNum="dsAttribute"/> |
| 398 |
<itemData name="Normal Constant" defStyleNum="dsVariable"/> |
| 399 |
<itemData name="Normal Path" defStyleNum="dsChar"/> |
| 400 |
<itemData name="Normal String SingleQ" defStyleNum="dsVerbatimString"/> |
| 401 |
<itemData name="Normal String DoubleQ" defStyleNum="dsString"/> |
| 402 |
<itemData name="Normal Escape Char" defStyleNum="dsSpecialChar"/> |
| 403 |
|
| 404 |
<itemData name="Information" defStyleNum="dsPreprocessor"/> |
| 405 |
<itemData name="Information Symbol" defStyleNum="dsOperator"/> |
| 406 |
<itemData name="Information Float" defStyleNum="dsFloat"/> |
| 407 |
<itemData name="Information Integer" defStyleNum="dsDecVal"/> |
| 408 |
<itemData name="Information Hexadecimal" defStyleNum="dsBaseN"/> |
| 409 |
<itemData name="Information Namespace" defStyleNum="dsAttribute"/> |
| 410 |
<itemData name="Information Constant" defStyleNum="dsVariable"/> |
| 411 |
<itemData name="Information Path" defStyleNum="dsChar"/> |
| 412 |
<itemData name="Information String SingleQ" defStyleNum="dsVerbatimString"/> |
| 413 |
<itemData name="Information String DoubleQ" defStyleNum="dsString"/> |
| 414 |
<itemData name="Information Escape Char" defStyleNum="dsSpecialChar"/> |
| 415 |
|
| 416 |
<itemData name="Warning" defStyleNum="dsInformation"/> |
| 417 |
<itemData name="Warning Symbol" defStyleNum="dsOperator"/> |
| 418 |
<itemData name="Warning Float" defStyleNum="dsFloat"/> |
| 419 |
<itemData name="Warning Integer" defStyleNum="dsDecVal"/> |
| 420 |
<itemData name="Warning Hexadecimal" defStyleNum="dsBaseN"/> |
| 421 |
<itemData name="Warning Namespace" defStyleNum="dsAttribute"/> |
| 422 |
<itemData name="Warning Constant" defStyleNum="dsVariable"/> |
| 423 |
<itemData name="Warning Path" defStyleNum="dsChar"/> |
| 424 |
<itemData name="Warning String SingleQ" defStyleNum="dsVerbatimString"/> |
| 425 |
<itemData name="Warning String DoubleQ" defStyleNum="dsString"/> |
| 426 |
<itemData name="Warning Escape Char" defStyleNum="dsSpecialChar"/> |
| 427 |
|
| 428 |
<itemData name="Error" defStyleNum="dsError" underline="0" bold="0"/> |
| 429 |
<itemData name="Error Symbol" defStyleNum="dsOperator"/> |
| 430 |
<itemData name="Error Float" defStyleNum="dsFloat"/> |
| 431 |
<itemData name="Error Integer" defStyleNum="dsDecVal"/> |
| 432 |
<itemData name="Error Hexadecimal" defStyleNum="dsBaseN"/> |
| 433 |
<itemData name="Error Namespace" defStyleNum="dsAttribute"/> |
| 434 |
<itemData name="Error Constant" defStyleNum="dsVariable"/> |
| 435 |
<itemData name="Error Path" defStyleNum="dsChar"/> |
| 436 |
<itemData name="Error String SingleQ" defStyleNum="dsVerbatimString"/> |
| 437 |
<itemData name="Error String DoubleQ" defStyleNum="dsString"/> |
| 438 |
<itemData name="Error Escape Char" defStyleNum="dsSpecialChar"/> |
| 439 |
|
| 440 |
<itemData name="Critical" defStyleNum="dsError" bold="1"/> |
| 441 |
<itemData name="Critical Symbol" defStyleNum="dsOperator" bold="1"/> |
| 442 |
<itemData name="Critical Float" defStyleNum="dsFloat"/> |
| 443 |
<itemData name="Critical Integer" defStyleNum="dsDecVal" bold="1"/> |
| 444 |
<itemData name="Critical Hexadecimal" defStyleNum="dsBaseN" bold="1"/> |
| 445 |
<itemData name="Critical Namespace" defStyleNum="dsAttribute" bold="1"/> |
| 446 |
<itemData name="Critical Constant" defStyleNum="dsVariable" bold="1"/> |
| 447 |
<itemData name="Critical Path" defStyleNum="dsChar" bold="1"/> |
| 448 |
<itemData name="Critical String SingleQ" defStyleNum="dsVerbatimString" bold="1"/> |
| 449 |
<itemData name="Critical String DoubleQ" defStyleNum="dsString" bold="1"/> |
| 450 |
<itemData name="Critical Escape Char" defStyleNum="dsSpecialChar" bold="1"/> |
| 451 |
|
| 452 |
<itemData name="Debug" defStyleNum="dsDataType"/> |
| 453 |
<itemData name="Debug Symbol" defStyleNum="dsOperator"/> |
| 454 |
<itemData name="Debug Float" defStyleNum="dsFloat"/> |
| 455 |
<itemData name="Debug Integer" defStyleNum="dsDecVal"/> |
| 456 |
<itemData name="Debug Hexadecimal" defStyleNum="dsBaseN"/> |
| 457 |
<itemData name="Debug Namespace" defStyleNum="dsAttribute"/> |
| 458 |
<itemData name="Debug Constant" defStyleNum="dsVariable"/> |
| 459 |
<itemData name="Debug Path" defStyleNum="dsChar"/> |
| 460 |
<itemData name="Debug String SingleQ" defStyleNum="dsVerbatimString"/> |
| 461 |
<itemData name="Debug String DoubleQ" defStyleNum="dsString"/> |
| 462 |
<itemData name="Debug Escape Char" defStyleNum="dsSpecialChar"/> |
| 463 |
|
| 464 |
<itemData name="Date" defStyleNum="dsBuiltIn"/> |
| 465 |
<itemData name="Time" defStyleNum="dsExtension"/> |
| 466 |
<itemData name="Time Zone" defStyleNum="dsExtension"/> |
| 467 |
<itemData name="Time Separator" defStyleNum="dsOperator"/> |
| 468 |
</itemDatas> |
| 469 |
</highlighting> |
| 470 |
|
| 471 |
<general> |
| 472 |
<keywords casesensitive="0"/> |
| 473 |
</general> |
| 474 |
</language> |
| 475 |
<!-- kate: space-indent on; indent-width 2; replace-tabs on; --> |