@RbnJrg
Very nice regex. A keeper. I tested it in Calibre with 300 chars instead of 999 and the result looked much nicer than I had expected. I expected all the paragraphs to appear too similar in length, which is not cool. However, (esp. with "Dot All") the number of screen lines per paragraph varied in a nice way—I am not sure why.
I encounter lots of books (history and the sciences) by learned people who do not believe in paragraphs, among their many e-book formatting crimes. Your regex will be added to my clean-up stack where breaking up a mass of text has benefits even tho some para breaks may not be precisely correct in terms of conventions.
Last edited by Brett Merkey; 02-03-2020 at 07:30 PM.
|