     </rule>
      <rule pattern="---\n">
        <token type="GenericStrong"/>
      </rule>
      <rule pattern="&lt; .*\n">
        <token type="GenericDeleted"/>
      </rule>
      <rule pattern="&gt; .*\n">
        <token type="GenericInserted"/>
      </rule>
      <rule pattern="\+.*\n">
        <token type="GenericInserted"/>
      </rule>
      <rule pattern="-.*\n">
        <token type="GenericDeleted"/>
      </rule>
      <rule pattern="!.*\n">
        <token type="GenericStrong"/>
      </rule>
      <rule pattern="@.*\n">
        <token type="GenericSubheading"/>
      </rule>
      <rule pattern="([Ii]ndex|diff).*\n">
        <token type="GenericHeading"/>
      </rule>
      <rule pattern="=.*\n">
        <token type="GenericHeading"/>
      </rule>
      <rule pattern=".*\n">
        <token type="Text"/>
      </rule>
    </state>
  </rules>
</lexer>