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

QTextDocument::find(QRegExp) fails

    XMLWordPrintable

Details

    Description

      QTextDocument::find(QRegExp) fails. My assumption is that if QRegExp::indexIn(QString) returns a positive index, QTextDocument::find(QRegExp) should return a non-null QTextCursor (i. e. find a match for the regexp), provided that the document was fed with the exact same string than the QRegExp.
      To reproduce just compile and run the attached console application.

      Attachments

        1. main.cpp
          0.8 kB
          Hans Bickel
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            hansiwalker Hans Bickel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes