en</code> (name, patt)</h3>

    <p>Creates and returns a token pattern with token name <em>name</em> and pattern
    <em>patt</em>.
    If <em>name</em> is not a predefined token name, its style must be defined via
    <code>lexer.add_style()</code>.</p>

    <p>Parameters:</p>

    <ul>
    <li><code>name</code>: The name of token. If this name is not a predefined token name,
    then a style needs to be assiciated with it via <code>lexer.add_style()</code>.</li>
    <li><code>patt</code>: The LPeg patter