https://bugs.documentfoundation.org/show_bug.cgi?id=165171
Bug ID: 165171
Summary: Regex search and replace function now working properly
Product: LibreOffice
Version: 25.2.0.3 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
I had a file with the end of sentences ending with a fullstop, then a space and
then a newline. I used the search and function faciity to remove the space
before the end of line, so I put "space and \n" to search for the end of lines
preceded by a space. I then put "\n" in the resplace box. What actually
happened was the space is removed but the end of line is replaced with end of
string.
Steps to Reproduce:
1.Try to remove characters before a "new line" non-printing characther with the
search and replace facility with the Regex option on.
2.Use a "new line" expression "\n" without the preceding character, becasue the
desired effect is to remove the characters before the new line.
3.Look at results. The \n is replaced with end of string.
Actual Results:
As above.
Expected Results:
It should have known tha \n is a new line, but it used end of string instead.
Reproducible: Always
User Profile Reset: No
Additional Info:
I will add a writer document that can be used to show that the search and
replace function is not working correctly
--
You are receiving this mail because:
You are the assignee for the bug.