<!DOCTYPE Highlight>
<Highlight wildcards="*.jsp; *.JSP" name="JSP">

 <Items>
  <Text         style="" color="#000000" />
  <Char         style="" color="#008000" />
  <Memo         style="" color="#808080" />
  <Attribute    style="" color="#000080" />
  <Tag          style="" color="#800080" />
  <TagA         style="b" color="#8000ff" />
  <TagJS        style="" color="#0080a0" />
  <TagBold      style="b" color="#800080" />
  <TagItalic    style="i" color="#800080" />
  <TagJSP       style="b" color="#0000ff" />
  <TagUnknow    style="" color="#ff0000" />
  <Value        style="" color="#008080" />
  <EndTag       style="" color="#000000" />
  <Brace        style="" color="#000000" />
  <jsText       style="" color="#000000" bgcolor="#f0f0f0" />
  <jsKeyword    style="" color="#808000" bgcolor="#f0f0f0" />
  <jsTypes      style="" color="#000080" bgcolor="#f0f0f0" />
  <jsDataType   style="" color="#000080" bgcolor="#f0f0f0" />
  <jsDecimal    style="" color="#0000ff" bgcolor="#f0f0f0" />
  <jsOctal      style="" color="#008080" bgcolor="#f0f0f0" />
  <jsHex        style="" color="#008080" bgcolor="#f0f0f0" />
  <jsFloat      style="" color="#800080" bgcolor="#f0f0f0" />
  <jsChar       style="" color="#ff00ff" bgcolor="#f0f0f0" />
  <jsString     style="" color="#008000" bgcolor="#f0f0f0" />
  <jsMemo       style="" color="#808080" bgcolor="#f0f0f0" />
  <LineContinue style="" color="#000080" />

  
  <jspScriplet            style=""  color="#000000" />
  <jspText                style=""  color="#000000" bgcolor="#f0f0f0" />
  <jspDecimal             style=""  color="#808080" bgcolor="#f0f0f0" />
  <jspOctal               style=""  color="#A0A000" bgcolor="#f0f0f0" />
  <jspHex                 style=""  color="#800000" bgcolor="#f0f0f0" />
  <jspFloat               style=""  color="#00c0c0" bgcolor="#f0f0f0" />
  <jspKeyword             style=""  color="#0000ff"  bgcolor="#f0f0f0" />
  <jspType                style=""  color="#a52a2a"  bgcolor="#f0f0f0" />
  <jspChar                style=""  color="#df8080" bgcolor="#f0f0f0" />
  <jspString              style=""  color="#ff0000" bgcolor="#f0f0f0" />
  <jspMemo                style=""  color="#008000" bgcolor="#f0f0f0" />
  <jspDirective           style="b" color="#0000ff" bgcolor="#f0f0f0" />  
  
 </Items>

 <Break>
 
  <normal>
   <citem item="" regexp="&lt;" mode="until, include" lineEndContent="switch" />
   <citem item="" regexp="$"    mode="until" />
  </normal>

  <switch>
   <citem item="" regexp="\%--"                                lineEndContent="jspComment" />
   <citem item="" regexp="\%"                                  lineEndContent="jsp" />
   <citem item="" regexp="SCRIPT\s*.*>" mode="noCaseSensitive" lineEndContent="js" />
   <citem item="" regexp="!--"                                 lineEndContent="comment1" />
   <citem item="" regexp="COMMENT\s*>"  mode="noCaseSensitive" lineEndContent="comment2" />
   <citem item="" regexp="."            mode="exclude"         lineEndContent="tag" />
  </switch>
  
  <jsp>
   <citem item="" regexp="\%>" mode="until, include" lineEndContent="normal" />
   <citem item="" regexp="(&quot;|(\%>)|(//)|(/\*))" mode="until, exclude" />
   <citem item="" regexp="//.*" />
   <citem item="" regexp="/\*"  lineEndContent="jspMultiLineComment" />
   <citem item="" regexp="&quot;" lineEndContent="jspString" />
   <citem item="" regexp="\%>" mode="until, exclude, allowfull"/>
   <citem item="" regexp="\%>" lineEndContent="normal" />
  </jsp>
  
  <jspString>
   <citem item="" regexp="\\&quot;" mode="until" lineEndContent="jspString" />
   <citem item="" regexp="&quot;" mode="until, exclude, allowfull" />
   <citem item="" regexp="&quot;" lineEndContent="jsp" />
  </jspString>

  <jspMultiLineComment>
   <citem item="" regexp="\*/" mode="until, exclude, allowfull"/>
   <citem item="" regexp="\*/" lineEndContent="jsp" />
  </jspMultiLineComment>
  
  <jspComment>
   <citem item="" regexp="--\%>" mode="until, exclude, allowfull"/>
   <citem item="" regexp="--\%>" lineEndContent="normal" />
  </jspComment>
  

  <js>
   <citem item="" regexp="&quot;"      lineEndContent="string" />
   <citem item="" regexp="//[^&lt;]*"   mode="until, include" lineEndContent="js" />
   <citem item="" regexp="/\*"          mode="until, include" lineEndContent="multiLineComment" />
   <citem item="" regexp="[^\\]&quot;"  mode="until, include" lineEndContent="string" />
   <citem item="" regexp="&lt;/SCRIPT>" mode="until, exclude, allowfull, noCaseSensitive"/>
   <citem item="" regexp="&lt;/SCRIPT>" mode="noCaseSensitive" lineEndContent="normal" />
  </js>

  <string>
   <citem item="" regexp="&quot;"                            lineEndContent="js" />
   <citem item="" regexp="[^\\]&quot;" mode="until, include" lineEndContent="js" />
   <citem item="" regexp="$"           mode="until" />
  </string>

  <multiLineComment>
   <citem item="" regexp="\*/" mode="until, exclude, allowfull"/>
   <citem item="" regexp="\*/" lineEndContent="js" />
  </multiLineComment>

  <comment1>
   <citem item="" regexp="-->" mode="until, exclude, allowfull"/>
   <citem item="" regexp="-->" lineEndContent="normal" />
  </comment1>

  <comment2>
   <citem item="" regexp="/COMMENT>" mode="until, exclude, allowfull, noCaseSensitive"/>
   <citem item="" regexp="/COMMENT>" mode="noCaseSensitive" lineEndContent="normal" />
  </comment2>

  <tag>
   <citem item="" regexp=">" mode="until, exclude, allowfull"/>
   <citem item="" regexp=">" lineEndContent="normal" />
  </tag>
  

 </Break>

 <Contents>

  <normal>
   <citem item="Text" regexp="\s+" />
   <citem item="Memo" regexp="&lt;\%--"         lineEndContent="jspComment" />
   <citem item="jspScriplet" regexp="&lt;\%"    lineEndContent="jsp" />
   <citem item="Char" regexp="&amp;[^;]+;" lineEndContent="normal" />
   <citem item="TagJS" regexp="&lt;SCRIPT\s*.*>" mode="noCaseSensitive" lineEndContent="js" />
   <citem item="Memo"  regexp="&lt;!--" lineEndContent="comment1" />
   <citem item="Memo"  regexp="&lt;COMMENT\s*>" mode="noCaseSensitive" lineEndContent="comment2" />
   <citem item="Brace" regexp="&lt;" mode="exclude" lineEndContent="tag_name" />
   <citem item="Text" regexp="[^&amp;&lt;]+" lineEndContent="normal" />
  </normal>
  
  <switch>
    <citem item="Text"   regexp="." />
  </switch>
  
  <jsp>
  
   <citem item="jspText" regexp="\s+" />
      
   <citem item="jspDirective" regexp="@(\s*)\w+" lineEndContent="jsp" />
      
   <citem item="jspType"      regexp="\w+"    keyword="auto char uchar const double float int uint long register short signed static unsigned void volatile bool" />
   <citem item="jspKeyword"   regexp="[\w_]+" keyword="abstract boolean break byte case catch char class const continue default do double else extends final finally float for goto if implements import instanceof int interface long native new package private protected public return short static strictfp super switch synchronized this throw throws transient try void volatile while" />

   <citem item="jspMemo" regexp="//.*" />
   <citem item="jspMemo" regexp="/\*" lineEndContent="jspMultiLineComment" />

   <citem item="jspString" regexp="&quot;" lineEndContent="jspString" />

   <citem item="jspFloat"   regexp="\d*\.\d+[eE]\+\d+[uUfFlL]?" />
   <citem item="jspFloat"   regexp="\d*\.\d+[uUfFlL]?" />
   <citem item="jspHex"     regexp="0[xX][\da-fA-F]+[uUlL]?" />
   <citem item="jspOctal"   regexp="0[0-7]+[uUlL]?" />
   <citem item="jspDecimal" regexp="\d+[uUlL]?" />

   <citem item="jspChar" regexp="'.'" />
   <citem item="jspChar" regexp="'\\([abefnrtv'\\&quot;]|x[\da-fA-F]+|[0-7]+)'" />
   
   <citem item="jspScriplet" regexp="\%>" lineEndContent="normal"/>

   <citem item="LineContinue" regexp="\\$" />

   <citem item="jspText" regexp="[\w_]+" lineEndContent="jsp" />
   <citem item="jspText" regexp="\s+"    lineEndContent="jsp" />
   <citem item="jspText" regexp="."     lineEndContent="jsp" />
  </jsp>

  <jspString>
   <citem item="jspString" regexp="[^&quot;\\]+" />
   <citem item="jspString" regexp="&quot;" lineEndContent="jsp" />
   <citem item="jspChar" regexp="\\([abefnrtv'\\&quot;]|x[\da-fA-F]+|[0-7]+)" />
   <citem item="LineContinue" regexp="\\" />
  </jspString>
  

  <jspMultiLineComment>
   <citem item="jspMemo" regexp="\*/" mode="until, exclude, allowfull"/>
   <citem item="jspMemo" regexp="\*/" lineEndContent="jsp" />
  </jspMultiLineComment>
  
  <jspComment>
   <citem item="Memo" regexp="--\%>" mode="until, exclude, allowfull"/>
   <citem item="Memo" regexp="--\%>" lineEndContent="normal" />
  </jspComment>
  

  <js>
   <citem item="jsText" regexp="\s+" />

   <citem item="jsKeyword" regexp="\w+" keyword="break case endfor default exit else array for if return switch do continue true false while new function var public"/>
   <citem item="jsTypes"   regexp="\w+" keyword="alert document eval"/>

   <citem item="jsMemo" regexp="//.*" />
   <citem item="jsMemo" regexp="/\*" lineEndContent="multiLineComment" />

   <citem item="jsString"   regexp="&quot;" lineEndContent="string" />
   <citem item="jsString"   regexp="'" lineEndContent="string2" />
   <citem item="jsFloat"    regexp="\d*\.\d+[eE]\+\d+[uUfFlL]?" />
   <citem item="jsFloat"    regexp="\d*\.\d+[uUfFlL]?" />
   <citem item="jsHex"      regexp="0[xX][\da-fA-F]+[uUlL]?" />
   <citem item="jsOctal"    regexp="0[0-7]+[uUlL]?" />
   <citem item="jsDecimal"  regexp="\d+[uUlL]?" />
   <citem item="jsChar"     regexp="'\\([abefnrtv'\\&quot;]|x[\da-fA-F]+|[0-7]+)'" />

   <citem item="TagJS" regexp="&lt;/SCRIPT>" mode="noCaseSensitive" lineEndContent="normal" />

   <citem item="jsText" regexp="[\w_]+" lineEndContent="js" />
   <citem item="jsText" regexp="\s+"    lineEndContent="js" />
   <citem item="jsText" regexp="\W"     lineEndContent="js" />
  </js>

  <string>
   <citem item="jsString" regexp="[^&quot;\\]+" />
   <citem item="jsString" regexp="&quot;" lineEndContent="js" />
   <citem item="jsChar" regexp="\\([abefnrtv'\\&quot;]|x[\da-fA-F]+|[0-7]+)" />
   <citem item="LineContinue" regexp="\\" />
  </string>
  
  <string2>
   <citem item="jsString" regexp="[^'\\]+" />
   <citem item="jsString" regexp="'" lineEndContent="js" />
   <citem item="jsChar" regexp="\\([abefnrtv'\\&quot;]|x[\da-fA-F]+|[0-7]+)" />
   <citem item="LineContinue" regexp="\\" />
  </string2>

  <multiLineComment>
   <citem item="jsMemo" regexp="\*/" mode="until, exclude, allowfull"/>
   <citem item="jsMemo" regexp="\*/" lineEndContent="js" />
  </multiLineComment>

  <comment1>
   <citem item="Memo" regexp="-->" mode="until, exclude, allowfull"/>
   <citem item="Memo" regexp="-->" lineEndContent="normal" />
  </comment1>

  <comment2>
   <citem item="Memo" regexp="/COMMENT>" mode="until, exclude, allowfull, noCaseSensitive"/>
   <citem item="Memo" regexp="/COMMENT>" mode="noCaseSensitive" lineEndContent="normal" />
  </comment2>

  <tag>
   <citem item="Text"       regexp="!" />
   <citem item="Text"       regexp="\s+" />
   <citem item="EndTag"     regexp="/" />
   <citem item="Text"       regexp="\s+" />
   <citem item="Brace"      regexp=">" lineEndContent="normal" />
   <citem item="Brace"      regexp="&lt;" lineEndContent="tag_name" />
   <citem item="Attribute"  regexp="[\w_\-:]+\s*" />
   <citem item="Text"       regexp="=" lineEndContent="tag_val" />
   <citem item="Value"      regexp="&quot;" lineEndContent="tagstring1" />
   <citem item="Value"      regexp="'" lineEndContent="tagstring2" />
  </tag>

  <tag_name>
   <citem item="Value"  regexp="&quot;" lineEndContent="tagstring1" />
   <citem item="Value"  regexp="'" lineEndContent="tagstring2" />
   <citem item="EndTag" regexp="/" />
   <citem item="Tag"            regexp="\w+" keyword="html head body frameset base isindex link meta script style title address blockquote center del div h1 h2 h3 h4 h5 h6 hr ins noscript p pre dir dl dt dd li menu ol ul table caption colgroup col thead tfoot tbody tr td th form button fieldset legend input label select optgroup option textarea applet basefont bdo br font iframe img map area object param q span sub sup abbr acronym cite code del dfn em ins kbd samp strong var big s small strike tt u frame noframes doctype ilayer nolayer" caseSensitive="false" lineEndContent="tag" />
   <citem item="TagJSP"         regexp="jsp:\w+" caseSensitive="false" lineEndContent="tag" />
   <citem item="TagA"           regexp="\w+" keyword="a" caseSensitive="false" lineEndContent="tag" />
   <citem item="TagBold"        regexp="\w+" keyword="b" caseSensitive="false" lineEndContent="tag" />
   <citem item="TagItalic"      regexp="\w+" keyword="i" caseSensitive="false" lineEndContent="tag" />
   <citem item="TagUnknow"      regexp="[\w:_\-]+" emptyContent="normal" lineEndContent="tag" />
  </tag_name>

  <tag_val>
    <citem item="Text"       regexp="\s+" />
    <citem item="Value"      regexp="&quot;" lineEndContent="tagstring1" />
    <citem item="Value"      regexp="'" lineEndContent="tagstring2" />
    <citem item="Value"      regexp="[^\s/>]+" emptyContent="normal"/>
  </tag_val>

  <tagstring1>
   <citem item="Value" regexp="&quot;" mode="until, exclude, allowfull"/>
   <citem item="Value" regexp="&quot;" lineEndContent="tag" />
  </tagstring1>

  <tagstring2>
   <citem item="Value" regexp="'" mode="until, exclude, allowfull"/>
   <citem item="Value" regexp="'" lineEndContent="tag" />
  </tagstring2>
  
  

 </Contents>

</Highlight>
