View Single Post
Old 11-09-2021, 07:15 PM   #9
retiredbiker
Evangelist
retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.
 
retiredbiker's Avatar
 
Posts: 451
Karma: 3886916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Kobo Forma
Quote:
Originally Posted by GregTheGrate View Post
I think I am closer to isolating cases where search does not work across all text files. If you use a search argument (using CMD-F) that is across multiple lines of source, it often does not work across all files
e.g
<p class="calibre_4">

<img src="\.\./images/line\.jpg" class="calibre_5"/>

</p>

will not search across all files in the current book I am editing.

If you change this to

<p class="calibre_4">\s+<img src="\.\./images/line\.jpg" class="calibre_5"/>\s+</p>

then the search works across all files
Because whatever is between lines may be invisible linefeeds and spaces, and different in different places in the book, I've always used that "\s+" in cases like this - just SOP.
retiredbiker is offline   Reply With Quote