<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - BASIC-Editor: Matching start-of-line using a lone ^ does not work"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=132870#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - BASIC-Editor: Matching start-of-line using a lone ^ does not work"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=132870">bug 132870</a>
              from <span class="vcard"><a class="email" href="mailto:andreas.heinisch@yahoo.de" title="Andreas Heinisch <andreas.heinisch@yahoo.de>"> <span class="fn">Andreas Heinisch</span></a>
</span></b>
        <pre>I think the regression was introduced by
<a href="https://bz.apache.org/ooo/show_bug.cgi?id=118887">https://bz.apache.org/ooo/show_bug.cgi?id=118887</a>, but I think this behaviour is
not correct.

Consider the String "5a". If I search using the regex "[0-9]*", I should get 3
matches: 
- 0 to 1, which is 5
- 1 to 1 and 2 to 2, which is empty

However, if I search using "[0-9]+", I get the expected match, so imho we
should allow zero length matches at the beginning of a paragraph.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>