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