2024-08-02 20:03:49 +00:00
|
|
|
<lexer>
|
|
|
|
<config>
|
|
|
|
<name>Lighttpd configuration file</name>
|
|
|
|
<alias>lighty</alias>
|
|
|
|
<alias>lighttpd</alias>
|
|
|
|
<mime_type>text/x-lighttpd-conf</mime_type>
|
|
|
|
</config>
|
|
|
|
<rules>
|
|
|
|
<state name="root">
|
|
|
|
<rule pattern="#.*\n">
|
|
|
|
<token type="CommentSingle"/>
|
|
|
|
</rule>
|
|
|
|
<rule pattern="/\S*">
|
|
|
|
<token type="Name"/>
|
|
|
|
</rule>
|
|
|
|
<rule pattern="[a-zA-Z._-]+">
|
|
|
|
<token type="Keyword"/>
|
|
|
|
</rule>
|
|
|
|
<rule pattern="\d+\.\d+\.\d+\.\d+(?:/\d+)?">
|
|
|
|
<token type="LiteralNumber"/>
|
|
|
|
</rule>
|
|
|
|
<rule pattern="[0-9]+">
|
|
|
|
<token type="LiteralNumber"/>
|
|
|
|
</rule>
|
|
|
|
<rule pattern="=>|=~|\+=|==|=|\+">
|
|
|
|
<token type="Operator"/>
|
|
|
|
</rule>
|
|
|
|
<rule pattern="\$[A-Z]+">
|
|
|
|
<token type="NameBuiltin"/>
|
|
|
|
</rule>
|
|
|
|
<rule pattern="[(){}\[\],]">
|
|
|
|
<token type="Punctuation"/>
|
|
|
|
</rule>
|
|
|
|
<rule pattern=""([^"\\]*(?:\\.[^"\\]*)*)"">
|
|
|
|
<token type="LiteralStringDouble"/>
|
|
|
|
</rule>
|
|
|
|
<rule pattern="\s+">
|
|
|
|
<token type="Text"/>
|
|
|
|
</rule>
|
|
|
|
</state>
|
|
|
|
</rules>
|
2024-08-26 23:18:28 +00:00
|
|
|
</lexer>
|