Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-95888

QRegExp lastIndexIn() ignores quantifiers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 5.12.9, 5.15.2
    • None
    • Fedora 34 w/ Qt 5.15.2 stock
      CentOS 7.6.1810 container w/ Qt 5.12.9 self built
    • Linux/X11

    Description

      QRegExp::lastIndexIn() seems to ignore quantifiers. I am trying to capture the word preceding the last search string, but the method returns only one - the last - character of the preceding word. See attached example to reproduce.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            ablotz Alan Blotz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes