https://bugs.kde.org/show_bug.cgi?id=447972
Bug ID: 447972
Summary: RegExp replace broken with replace as "\n"
Product: kate
Version: 21.12.0
Platform: Manjaro
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
RegExp replace is broken when replace string contains \n
STEPS TO REPRODUCE
Search smbols and try to replace then with \n (newline).
Please see attached video - in the video I replaced , with |- works, then with
\t (tab) - works, then with \n (newline) - does not properly.
OBSERVED RESULT
When replace contains \n, kate replaces only so much search symbols as there
are lines in the editor.
EXPECTED RESULT
Everything what is searched is replaced when using RegExp.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
ADDITIONAL INFORMATION
Replace is working when replace does not contain \n (newline).
--
You are receiving this mail because:
You are watching all bug changes.