Description: Changing font-type with regex find&replace, if a "\n" is present in the document of the find font-type, it is replaced with a newline formatting. Expected behavior: same "\n" but changed to target font-type. Find regex: (.+) Find font-type: Times New Roman Replace regex: $1 Replace font-type: Courier New Steps to Reproduce: 1.create a document of text containing: "this is a test\n.Hello!" 2.find&replace with regex: find (.+) current font-type replace $1 other font-type 3.replace-all in find-replace dialog Actual Results: this is a test .Hello! Expected Results: this is a test\n.Hello! Reproducible: Always User Profile Reset: No Additional Info: Version: 6.2.6.2 (x64) Build ID: 684e730861356e74889dfe6dbddd3562aae2e6ad CPU threads: 2; OS: Windows 6.3; UI render: default; VCL: win; Locale: en-US (en_US); UI-Language: en-US Calc: threaded
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. (Please note that the attachment will be public, remove any sensitive information before attaching it. See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.) I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
Created attachment 156485 [details] Before 1. invoke find and replace dialog 2. find: .+, format "Times New Roman" 3. replace: $0, format "Courier New"
Created attachment 156487 [details] After
[Automated Action] NeedInfo-To-Unconfirmed
I confirm it with Version: 6.3.5.2 (x64) Build-ID: dd0751754f11728f69b42ee2af66670068624673 CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE Calc: threaded
*** Bug 138931 has been marked as a duplicate of this bug. ***