8.1.2: Find in files: regex multiline never matches
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
8.1.2: Find in files: regex multiline never matches
Based on https://forums.textpad.com/viewtopic.php?t=13104 I just learned searching multiple lines using regular expressions in multiple files will never bring up a result. Has this worked in previous versions?
Hello,
Using TP 8.1.2 I am able to search and replace across multiple files with multiple lines in TextPad using:
Search
<span class="mozp">([\s\S]*)</span>
Replace
\1
What I have not been able to do with this is to use it in Wild Edit
Using TP 8.1.2 I am able to search and replace across multiple files with multiple lines in TextPad using:
Search
<span class="mozp">([\s\S]*)</span>
Replace
\1
What I have not been able to do with this is to use it in Wild Edit
Thank you, and
Best Wishes,
Obo
http://buddhadust.net/
check out the What's New? Oblog:
http://buddhadust.net/dhammatalk/dhamma ... ts.new.htm
Best Wishes,
Obo
http://buddhadust.net/
check out the What's New? Oblog:
http://buddhadust.net/dhammatalk/dhamma ... ts.new.htm
Such a thing does not exist. I'm fine with "Find" and "Replace", also for all open documents.Mike Olds wrote:replace across multiple files
I was talking about "Find In Files", where a search query like span>\n<span or span>\r<span just never matches. And I also don't want to find any space, I want to only find linebreaks.
This is still not possible and I have neither a clue how I could be misunderstood, nor why this won't be fixed:
- CTRL+F5 = find in files (not just finding in opened files)
- regular expression
- Find: text\ntext
- no results found, although several files with those two lines exists
- the regexp text\n however finds matches
- but text\n. never finds anything, although it obviously should, since the dot matches anything
- not even text\R. as per help for ANY linebreak matches any file