/li>
    </ul>


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

    <h3><code>lexer.starts_line</code> (patt)</h3>

    <p>Creates and returns a pattern that matches pattern <em>patt</em> only at the
    beginning of a line.</p>

    <p>Parameters:</p>

    <ul>
    <li><code>patt</code>: The LPeg pattern to match on the beginning of a line.</li>
    </ul>


    <p>Usage:</p>

    <ul>
    <li><code>local preproc = token(lexer.PREPROCESSOR, lexer.starts_line('#') *
    lexer.nonnewline^0)</code></li>
    </ul>
