https://bugs.kde.org/show_bug.cgi?id=503455
Bug ID: 503455 Summary: Kate command line: regex not working Classification: Applications Product: kate Version: 25.04.0 Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: kwrite Assignee: kwrite-bugs-n...@kde.org Reporter: vassar...@gmail.com Target Milestone: --- SUMMARY Since a few months ago, when I press F7 to open the command line in Kate and try to use a regular expression like: %s/foo/bar/ it shows the error: Command "%s/foo/bar/" failed. If I type: s/foo/bar/ it works—but only on the line where the cursor is. Does anyone know what's going on? I'm using Arch Linux. I also installed the Flatpak version of Kate (following the link from the official website), and the same behavior happens there. Regards. STEPS TO REPRODUCE 1. Open Kate. 2. Write some lines of text. 3. Press F7 to open the command line. 4. Type %s /foo/bar (or %s/foo/bar/) OBSERVED RESULT I get: Command "%s /foo/bar/" failed. EXPECTED RESULT It should replace foo for bar in all the lines. SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: Arch Linux KDE Plasma Version: 6.3.4 KDE Frameworks Version: 6.13.0 Qt Version: 6.9.0 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.