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

QRegularExpression should have a way of matching shell wildcards

    XMLWordPrintable

Details

    • 30b0701c9b50ec718ec858d7777a01c66e333a9c

    Description

      We just ported a lot of our projects from Qt 4 to Qt 5 (which could be done with acceptable effort).

      Qt 5 introduced a new powerful pattern matching class QRegularExpression. We would like to follow the suggestion in the Qt5 documentation and move from QRegExp to QRegularExpression soon. However we can not do this easily.

      We are using QRegExp intensly and one of our common use cases is to allow users filtering data by directly manually entering search/filter patterns. A lot of these uses involve basic wildcard patterns since these patterns are totally sufficient for most applications and most of our user are no technicians and we do not want to burden them using full perl regular expressions where not needed (which is the proposed solution in the Qt5 documentation).

      So we can NOT switch to QRegularExpression in about half of its uses which will probably mean we will stick to QRegExp completly.

      Please enable QRegularExpression to do wildcard matches.

      Attachments

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

        Activity

          People

            sgaist Samuel Gaist
            silicomancer Bernhard Lindner
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes