[kate] [Bug 462220] Kate's search & replace interprets captured text in regex mode

2022-11-28 Thread Kåre Särs
https://bugs.kde.org/show_bug.cgi?id=462220 --- Comment #6 from Kåre Särs --- Yes, "¤Search¤" is a reserved string, but it has been like that for over 9 years and I have not seen a bug report about it yet ;) -- You are receiving this mail because: You are watching all bug changes.

[kate] [Bug 462220] Kate's search & replace interprets captured text in regex mode

2022-11-27 Thread Olivier Delande
https://bugs.kde.org/show_bug.cgi?id=462220 --- Comment #5 from Olivier Delande --- Thanks, the patch looks like it will fix the issue. The one issue that remains with this implementation is that the string "¤Search¤" is reserved: all occurrences of this string (after replacement) are replaced

[kate] [Bug 462220] Kate's search & replace interprets captured text in regex mode

2022-11-27 Thread Kåre Särs
https://bugs.kde.org/show_bug.cgi?id=462220 Kåre Särs changed: What|Removed |Added Version Fixed In||22.12 Latest

[kate] [Bug 462220] Kate's search & replace interprets captured text in regex mode

2022-11-27 Thread Kåre Särs
https://bugs.kde.org/show_bug.cgi?id=462220 Kåre Särs changed: What|Removed |Added Status|CONFIRMED |RESOLVED Latest Commit|

[kate] [Bug 462220] Kate's search & replace interprets captured text in regex mode

2022-11-25 Thread Kåre Särs
https://bugs.kde.org/show_bug.cgi?id=462220 Kåre Särs changed: What|Removed |Added CC||kare.s...@iki.fi Ever confirmed|0

[kate] [Bug 462220] Kate's search & replace interprets captured text in regex mode

2022-11-25 Thread Olivier Delande
https://bugs.kde.org/show_bug.cgi?id=462220 --- Comment #1 from Olivier Delande --- I am not familiar with Kate's codebase, but my impression is that the bug is in MatchModel::generateReplaceString, in addons/search/MatchModel.cpp. The method computes the replacement text from the replacement