friendica/vendor/pear-pear.php.net/Text_Highlighter/data/Text_Highlighter/Text/xml.xml
Hypolite Petovan 1ab28bbe03 Add Text_Highlighter to Composer
- Fixes critical mistake in boot.php regarding set_include_path
- Fixes minor mistake in text.php regarding strpos order of arguments

Note: This change significantly increases Composer running time because
Text_Highlither is a PEAR package. I'm already planning to replace it
with scrivo/highlight.php.
2017-04-05 00:31:49 -04:00

38 lines
1.1 KiB
XML

<?xml version="1.0"?>
<!-- $Id: xml.xml,v 1.1 2007-06-03 02:35:28 ssttoo Exp $ -->
<highlight lang="xml" case="no">
<authors>
<author name="Andrey Demenev" email="demenev@gmail.com"/>
</authors>
<default innerClass="code" />
<region name="cdata" delimClass="comment" innerClass="comment"
start="\&lt;\!\[CDATA\[" end="\]\]\&gt;">
</region>
<region name="comment" delimClass="comment" innerClass="comment"
start="\&lt;!--" end="--\&gt;">
</region>
<region name="tag" delimClass="brackets" innerClass="code" start="\&lt;[\?\/]?" end="[\/\?]?\&gt;">
<contains block="tagname"/>
<contains region="param"/>
<contains block="paramname"/>
</region>
<block name="tagname" match="(?&lt;=[\&lt;\/?])[\w\-\:]+" innerClass="reserved" contained="yes"/>
<block name="paramname" match="[\w\-\:]+" innerClass="var" contained="yes"/>
<block name="entity" match="(&amp;|%)[\w\-\.]+;" innerClass="special" />
<region name="param" start="&quot;" end="&quot;" delimClass="quotes" innerClass="string" contained="yes">
<contains block="entity"/>
</region>
</highlight>