8.1.2: Find in files: regex multiline never matches

General questions about using TextPad

Moderators: AmigoJack, helios, bbadmin, Bob Hansen, MudGuard

Post Reply
melvers
Posts: 26
Joined: Tue Aug 05, 2003 1:52 pm

8.1.2: Find in files: regex multiline never matches

Post 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.
Last edited by melvers on Tue May 21, 2019 2:23 pm, edited 1 time in total.
User avatar
AmigoJack
Posts: 482
Joined: Sun Oct 30, 2016 4:28 pm
Location: グリーン ヒル ゾーン
Contact:

Post 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.
Post Reply