https://bugs.documentfoundation.org/show_bug.cgi?id=144089
Bug ID: 144089
Summary: Find and Replace works incorrectly with regex "^." and
selection only
Product: LibreOffice
Version: 7.3.0.0 alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
This is just a follow-up of
https://bugs.documentfoundation.org/show_bug.cgi?id=137737#c11 for future
reference
1. Create a lorem ipsum text.
2. Select any random part inside any paragraph.
3. Using F&R, use regex "^." (any character in the beginning of the paragraph),
ad replace with "A" (character A).
4. Use "Current selection only"
5. Replace All.
The expected result is that the text is not found (unless we also selected the
very first character of the paragraph, in which case the very first character
of the paragraph should be replaced). The actual result now is that all the
selected text is replaced with AAAAA...
Introduced by
https://git.libreoffice.org/core/+/a511bffd67a9cebfdc878766581ac08c79d7ff51%5E%21
--
You are receiving this mail because:
You are the assignee for the bug.