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

QTextDocument::find(QRegExp) fails

XMLWordPrintable

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes