xists|known|static)\b">
        <token type="KeywordConstant"/>
      </rule>
      <rule pattern="(and|or|not)\b">
        <token type="OperatorWord"/>
      </rule>
      <rule pattern="(==|!=|~=|~~|=)">
        <token type="Operator"/>
      </rule>
      <rule pattern="[{},;\)]">
        <token type="Punctuation"/>
      </rule>
      <rule pattern="\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\/\d{1,2}">
        <token type="LiteralNumberFloat"/>
      </rule>
      <rule pattern="\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}">
        <token type="LiteralNumberFloat"/>
      </rule>
      <rule pattern="[a-fA-F0-9]{1,2}:[a-fA-F0-9]{1,2}:[a-fA-F0-9]{1,2}:[a-fA-F0-9]{1,2}:[a-fA-F0-9]{1,2}:[a-fA-F0-9]{1,2}">
        <token type="LiteralNumberHex"/>
      </rule>
      <rule pattern="&#34;">
        <token type="LiteralString"/>
        <push state="doublequotestring"/>
      </rule>
      <rule pattern="([\w\-.]+)(\s*)(\()">
        <bygroups>
          <token type="NameFunction"/>
          <token type="Text"/>
          <token type="Punctuation"/>
        </bygroups>
      </rule>
      <rule pattern="[\w\-.]+">
        <token type="NameVariable"/>
      </rule>
      <rule pattern="\s+">
        <token type="Text"/>
      </rule>
    </state>
    <state name="doublequotestring">
      <rule pattern="\$[{(]">
        <token type="LiteralStringInterpol"/>
        <push state="interpol"/>
      </rule>
      <rule pattern="\\.">
        <token type="LiteralStringEscape"/>
      </rule>
      <rule pattern="&#34;">
        <token type="LiteralString"/>
        <pop depth="1"/>
      </rule>
      <rule pattern="\n">
        <token type="LiteralString"/>
      </rule>
      <rule pattern=".">
        <token type="LiteralString"/>
      </rule>
    </state>
  </rules>
</lexer>
