View Single Post
Old 02-09-2026, 06:37 PM   #9
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,334
Karma: 6686152
Join Date: Nov 2009
Device: many
In what way didn't it work? I copied and pasted exactly what you posted as a test case into a new empty xhtml file in Sigil.

Open Search and Replace and typed exactly the following into Find field:
</p>\s+<p>

Then typed a single space into the Replace field.

I then set the search mode to Regex and made sure that DotAll was checked. Then I made sure my cursor was at the top of the page (since searching down) and hit the find button, then hit the replace button, and it properly merged your test-case paragraphs.

So either your test case is not representative of the actual code or something else is off.

It has nothing to do with environment vars or python as search uses neither.
KevinH is online now   Reply With Quote