SUMMARY Using "Search and replace in files" I suffer a bug which previews/replaces all characters, no matter what, to … when I try to replace only ... characters. Also after that, entering ... characters into "Replace" field previews all translations as . or .. depending on how many . character the translation has. STEPS TO REPRODUCE 1. Open "Search and replace in files" tab 2. Search some string 3. In "Replace" field enter ... 4. In "With" field enter … 5. Press "Mass Replace" or "Replace" button OBSERVED RESULT Replacing is bugged. EXPECTED RESULT Replacing should be ... to … . SOFTWARE/OS VERSIONS KDE Plasma Version: 5.14 KDE Frameworks Version: 5.55.0 Qt Version: 5.12.1
Is the "Regular expression" checkbox checked ?
Ops... I forgot to mention but no, "Regular expression" checkbox was UNCHECK
Git commit 36134191a32b4635006ad2d3ade54416d25db2b2 by Simon Depiets. Committed on 05/03/2019 at 22:42. Pushed by sdepiets into branch 'master'. Fix inversed ternary operator M +1 -1 src/filesearch/filesearchtab.cpp https://commits.kde.org/lokalize/36134191a32b4635006ad2d3ade54416d25db2b2
Thank you for your bug report. It will be fixed in 19.04. As the condition was reversed in the code, you can actually check the Regular expression box meanwhile to do a normal mass string replacement.