Page 1 of 1

8.1.2: Find in files: regex multiline never matches

Posted: Thu Jul 06, 2017 2:02 pm
by melvers
Is there a way to do a multi-line find using the find-in-files feature? I have tried a number of find expressions and nothing works. Some examples of find text are:

some text\n more text
some text[^m]+
some text\n *more

All of these work within a single file, but not in the find-in-files dialog.

Posted: Fri Jul 07, 2017 6:54 am
by AmigoJack
I can confirm this behavior with 8.1.2. Doesn't even work with \R - apparently one is unable to use regular expressions over multiple lines (which is either a thing that got forgotten, or intended without the help being accurate).

@melvers: can you please change the subject to a more precise one, i.e. "8.1.2: Find in files: regex multiline never matches"? Also posted this in the Regular Expressions forum.