

    <p>Return:</p>

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


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

    <h3><code>lexer.to_eol</code>(<em>prefix, escape</em>)</h3>

    <p>Creates and returns a pattern that matches from string or pattern <em>prefix</em>
    until the end of the line.
    <em>escape</em> indicates whether the end of the line can be escaped with a &lsquo;\&rsquo;
    character.</p>

    <p>Parameters:</p>

    <ul>
    <li><em><code>prefix</code></em>: String or pattern prefix to start matc