Details
-
Suggestion
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 6.0.0-rc1
-
None
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
- duplicates
-
QTCREATORBUG-1011 Regular expression search to allow newlines, eg. \n or \r
-
- Open
-