Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26599

Support multiline regex searching

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 6.0.0-rc1
    • Editors
    • None
    • All

    Description

      For example, if I want to find all places in a project's code where it calls malloc() then calls free() within the next few lines of code, I can switch to Terminal and run:

      pcregrep -Mr 'malloc((.*\n){0,5}.*free(' .

      …but if I enter the same regex in Qt Creator's Advanced Search pane, it doesn't turn up any results.

      It would be great if Qt Creator natively supported multi-line regular expression searching, to be able to use Qt Creator's lovely search results navigation features (double-click on a search result to jump to it in an editor; use a keyboard shortcut to jump to the next/previous search result).

      Attachments

        Issue Links

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

          Activity

            People

              davschul David Schulz
              smokris Steve Mokris
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes