only be <code>true</code> when initially loading a lexer (e.g. not from
    within another lexer for embedding purposes).
    The default value is <code>false</code>.</li>
    </ul>


    <p>Return:</p>

    <ul>
    <li>lexer object</li>
    </ul>


    <p><a id="lexer.modify_rule"></a></p>

    <h3><code>lexer.modify_rule</code> (lexer, id, rule)</h3>

    <p>Replaces in lexer <em>lexer</em> the existing rule identified by string <em>id</em> with
    pattern <em>rule</em>.</p>

    <p>Parameters:</p>

   