https://bugs.freedesktop.org/show_bug.cgi?id=58744

DouglasCarnall <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.apache.org/o
                   |                            |oo/show_bug.cgi?id=46165

--- Comment #3 from DouglasCarnall <[email protected]> ---
tl;dr "regex" that can't handle line breaks and hard returns nicely is not
worth the candle

***
I'd just like to add my voice to y3kcjd5's (and many others: see linked
discussion at 46165) for this "enhancement" to be prioritized. 

I've scarequoted "enhancement" because not being able to perform the following
very common real world use case makes LibreOffice Writer feel DEEPLY BROKEN.

Text in which each line break has been converted into a hard return is a common
phenomenon: e.g. when copying text from an EMAIL and pasting it into a
DOCUMENT. When would anyone ever do that?

One simple pragmatic way to fix this using find and replace functionality
commonly available in e.g. Microsoft Word, is as follows:

Find and replace all occurrences of ¶¶ with e.g. §§§ [mark the pars we do want]
Find and replace all occurrences of ¶ with a space [zap the pars we don't]
Find and replace all occurrences of §§§ with ¶ [recreate pars we marked in
first step]

Done.

Of course, anyone capable of initiating the sequence above is also almost
certainly competent to find a workaround elsewhere. But it feels very broken
not just to be able to do it within the application, perhaps because somewhere
along the line someone deliberately hobbled \p perhaps because of this 65535
character paragraph limit (huh?).

I'm not sure I fully follow y3kcjd5's proposal, but if Writer can be tweaked to
make the sequence I outline above easily possible, it would meet most of my
regex needs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to