Description: When the target of a regex replace contains a comment, the literal text of the replace field is inserted instead of the backreferences, i.e. “$1 $2” is inserted instead of the text found. Steps to Reproduce: 1. Start with a document containing sentences ending with a full stop followed by a single space 2. Search & Replace with regex (+ case matching) Search: ([.?!]|\.”|\?”|!”) ([A-Z]|“|‘) Replace: $1 $2 Actual Results: If the match contains a comment, the text “$1 $2” is inserted instead of the backreferences to the matched text. Expected Results: The backreferenced text should be inserted (including the comment) as it is with matches that don’t contain a comment. Reproducible: Always User Profile Reset: No OpenGL enabled: Yes Additional Info: Version: 7.2.2.2 / LibreOffice Community Build ID: 20(Build:2) CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3 Locale: ga-IE (ga_IE.UTF-8); UI: ga-IE 7.2.2-2 Calc: threaded
Created attachment 176391 [details] Simple test document
Repro in: Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: e9332dcdc8f2ea268d1b17c73d43a8834cf75365 CPU threads: 10; OS: Mac OS X 12.0.1; UI render: Skia/Metal; VCL: osx Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
Dear Seán Ó Séaghdha, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Bug is still present in Version: 7.6.3.2 (X86_64) / LibreOffice Community Build ID: 60(Build:2) CPU threads: 8; OS: Linux 6.6; UI render: default; VCL: gtk3 Locale: ga-IE (ga_IE.UTF-8); UI: ga-IE 7.6.3-2 Calc: threaded