<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="regexpr" version="0.1" section="Test" extensions="*.regexpr;">
<highlighting>
<contexts>
<context name="Base" attribute="Normal Text" lineEndContext="#stay">
<StringDetect attribute="Test Area" context="Test" String="<Test>" />
<StringDetect attribute="Test Area" context="TestI" String="<TestI>" />
<StringDetect attribute="Test Area" context="TestComplex" String="<TestComplex>" />
<StringDetect attribute="Test Area" context="TestComplexB" String="<TestComplexB>" />
<StringDetect attribute="Test Area" context="TestComplexNB" String="<TestComplexNB>" />
<StringDetect attribute="Test Area" context="TestComplexD" String="<TestComplexD>" />
<StringDetect attribute="Test Area" context="TestComplexDI" String="<TestComplexDI>" />
<StringDetect attribute="Test Area" context="TestComplexI" String="<TestComplexI>" />
<IncludeRules context="##XML" />
</context>
<context name="Comment" attribute="Comment" lineEndContext="#pop">
</context>
<context name="Test" attribute="Test Area" lineEndContext="#stay">
<DetectChar attribute="Comment" context="Comment" char="#" />
<!-- tests go here -->
<RegExpr attribute="Match" context="#stay" String="<@>" />
<StringDetect attribute="Test Area" context="#pop" String="<Test>" />
</context>
<context name="TestI" attribute="Test Area" lineEndContext="#stay">
<DetectChar attribute="Comment" context="Comment" char="#" />
<!-- tests go here -->
<RegExpr attribute="Match" insensitive="true" context="#stay" String="kameel" />
<StringDetect attribute="Test Area" context="#pop" String="<TestI>" />
</context>
<context name="TestComplex" attribute="Test Area" lineEndContext="#stay">
<DetectChar attribute="Comment" context="Comment" char="#" />
<!-- tests go here -->
<RegExpr attribute="Match" context="#stay" String="^kameel" />
<StringDetect attribute="Test Area" context="#pop" String="<TestComplex>" />
</context>
<context name="TestComplexB" attribute="Test Area" lineEndContext="#stay">
<DetectChar attribute="Comment" context="Comment" char="#" />
<!-- tests go here -->
<RegExpr attribute="Match" context="#stay" String="\bkameel" />
<StringDetect attribute="Test Area" context="#pop" String="<TestComplexB>" />
</context>
<context name="TestComplexNB" attribute="Test Area" lineEndContext="#stay">
<DetectChar attribute="Comment" context="Comment" char="#" />
<!-- tests go here -->
<RegExpr attribute="Match" context="#stay" String="\Bkameel" />
<StringDetect attribute="Test Area" context="#pop" String="<TestComplexNB>" />
</context>
<context name="TestComplexD" attribute="Test Area" lineEndContext="#stay">
<DetectChar attribute="Comment" context="Comment" char="#" />
<!-- tests go here -->
<RegExpr attribute="Match" context="TestComplexDT" String="\s(\d+)" />
<StringDetect attribute="Test Area" context="#pop" String="<TestComplexD>" />
</context>
<context name="TestComplexDT" attribute="Test Area" dynamic="true" lineEndContext="#stay">
<DetectChar attribute="Comment" context="Comment" char="#" />
<RegExpr attribute="Match" dynamic="true" context="#pop" String="kameel%1" />
<StringDetect attribute="Test Area" context="#pop#pop" String="<TestComplexD>" />
</context>
<context name="TestComplexDI" attribute="Test Area" lineEndContext="#stay">
<DetectChar attribute="Comment" context="Comment" char="#" />
<!-- tests go here -->
<RegExpr attribute="Match" context="TestComplexDIT" String="\s(\d+)" />
<StringDetect attribute="Test Area" context="#pop" String="<TestComplexDI>" />
</context>
<context name="TestComplexDIT" attribute="Test Area" dynamic="true" lineEndContext="#stay">
<DetectChar attribute="Comment" context="Comment" char="#" />
<RegExpr attribute="Match" insensitive="true" dynamic="true" context="#pop" String="kameel%1" />
<StringDetect attribute="Test Area" context="#pop#pop" String="<TestComplexDI>" />
</context>
<context name="TestComplexI" attribute="Test Area" lineEndContext="#stay">
<DetectChar attribute="Comment" context="Comment" char="#" />
<!-- tests go here -->
<RegExpr attribute="Match" insensitive="true" context="#stay" String="^kameel" />
<StringDetect attribute="Test Area" context="#pop" String="<TestComplexI>" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="Test Area" defStyleNum="dsOthers" />
<itemData name="Match" defStyleNum="dsDataType" />
<itemData name="Match2" defStyleNum="dsString" />
<itemData name="Match3" defStyleNum="dsChar" />
<itemData name="Match4" defStyleNum="dsDataType" />
<itemData name="Match5" defStyleNum="dsString" />
<itemData name="Comment" defStyleNum="dsComment" />
</itemDatas>
</highlighting>
<general>
<keywords casesensitive="1" weakDeliminator="."/>
</general>
</language>