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

Add support for QRegularExpression in QML

    XMLWordPrintable

Details

    • d2fd8010d3d3a6493df1a848c342db40555b4c1f (qt/qtdeclarative/dev)

    Description

      Currently QRegularExpression is not supported in QML
      QRegExp is supported, you can have a QRegExp property that's settable from QML:

      myRegExpProp: /\w+foo/i

      It would be nice to have that for QRegularExpression since QRegExp should be avoided.

      The workaround is to have a pattern property and a couple of other properties for the options, or a flag property if you want to support all options (that means having to expose the flag values by copying the enum and using Q_FLAG).

      Attachments

        For Gerrit Dashboard: QTBUG-73429
        # Subject Branch Project Status CR V

        Activity

          People

            ulherman Ulf Hermann
            grecko Pierre-Yves Siret
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes