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

QDir: When using entryList() with a name filter such as "*[*" then it will fail to find any files with [ in it

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 4.7.3
    • Core: I/O
    • None

    Description

      QDir: When using entryList() with a name filter such as "[" then it will fail to find any files with [ in it. The reason for this is that although [ is a valid character name on *nix in a file it is using the Wildcard pattern syntax in QRegExp. It should be possible to escape these characters in the name filter so that they can be used. To enable this, the pattern syntax for QRegExp should be changed to WildcardUnix.

      Attachments

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

        Activity

          People

            w00t Robin Burchell
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes