n associated with the token.</li>
    </ul>


    <p>Usage:</p>

    <ul>
    <li><code>local ws = token(lexer.WHITESPACE, lexer.space^1)</code></li>
    <li><code>local annotation = token('annotation', '@' * lexer.word)</code></li>
    </ul>


    <p>Return:</p>

    <ul>
    <li>pattern</li>
    </ul>


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

    <h3><code>lexer.word_match</code> (words, case_insensitive, word_chars)</h3>

    <p>Creates and returns a pattern that matches any single word in string <em>w