dicating whether or not the
    word match is case-insensitive. The default value is <code>false</code>.</li>
    <li><code>word_chars</code>: Unused legacy parameter.</li>
    </ul>


    <p>Usage:</p>

    <ul>
    <li><code>local keyword = token(lexer.KEYWORD, word_match[[foo bar baz]])</code></li>
    <li><code>local keyword = token(lexer.KEYWORD, word_match([[foo-bar foo-baz
    bar-foo bar-baz baz-foo baz-bar]], true))</code></li>
    </ul>


    <p>Return:</p>

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