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

--- Comment #6 from Jim Avera <[email protected]> ---
Incidentally $ does match the end of paragraphs (as documented), but seems to
match the paragraph break (not just tne -position- at the end of the
paragraph), so paragraphs are merged forming a single new paragraph.  Except
only one of a group of successive empty paragraphs is matched.

Matching the para-break itself seems odd to me (as usually unhelpful), but
might be intentional.  However the fact that only some empty paragraphs are
matched is almost certainly a bug.

EXAMPLE: In the following 1-line paragraphs, there are two empty paras between
b and c (<P> indicates the paragraph symbol which is shown when displaying
non-printing characters):
a<P>
b<P>
<P>
<P>
c<P>
Find-and-replace of $ with X replaces the 5 paragraphs with 2 paragraphs:
aXbX<P>
Xc<P>
As you can see, the 5 paragraphs were collapsed into two paragraphs, except the
"paragraph break" was not removed for one of the empty paragraps.

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