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

QRegularExpression with {a,b} construction in pattern

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.8.1
    • Core: Other
    • None
    • Windows

      QRegularExpression pattern = QRegularExpression( "3{1,2" );

      pattern.isValid() == true, but there is unclosed curly bracket in pattern

      If it's impossible make strict check by default - may be add option to pattern - to check curly brackets closed and with only 1 or 2 numbers inside separated by comma

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

            peppe Giuseppe D'Angelo
            denys Denys Dudko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes