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

Bug using regex in large text file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.15.2, 6.6.1
    • Core: Other
    • None
    • Windows

    Description

      For certain patterns that are valid (for example .*.*aa, verified using QRegularExpression::isValid), when trying to match in a big text file, QRegularExpressionMatch::isValid returns false.

      Files used to isolate the case are attached.

      Attachments

        1. file.txt
          56 kB
        2. main.cpp
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            peppe Giuseppe D'Angelo
            henato Renato Ribeiro
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes