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

there seems to be no way to search backwards in QStringView with QRegularExpression

    XMLWordPrintable

Details

    • All
    • ce0b76731042412a0fa5a5f633fc48a52f79ef81 (qt/qtbase/dev)

    Description

      While it is possible to search QString backwards with QString::lastIndexOf(QRegularExpression, ...), there is no such possibility for searching backwards in QStringView. Any workaround seems to be inefficient. I either need to allocate QString or I need to search forward and find the last match of all matches.

      Attachments

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

        Activity

          People

            peppe Giuseppe D'Angelo
            vladimir.kraus Vladimir Kraus
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes