https://bugs.kde.org/show_bug.cgi?id=418726
Bug ID: 418726 Summary: Caret does not match the beginning of a line Product: kate Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: search Assignee: kwrite-bugs-n...@kde.org Reporter: hpf...@psnarf.org Target Milestone: --- SUMMARY When you enter '^' in the find/replace in the find ui QLineEdit widget, no matches are found. You should be able to insert a string at the beginning of a line. It works if you include the first character of the line, you can insert the replace string at the beginning of the line with the fist char appended to the replace, but with different first chars, that is not an option. STEPS TO REPRODUCE 1. Type a caret into the find linedit widget 2. Type a string in the replace linedit widget 3. OBSERVED RESULT No matches found. EXPECTED RESULT There should be a match at the beginning of each line in the file so you don't have to resort to `sed 's/^/somestring/'`. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.18.0 KDE Frameworks Version: 5.67.0 Qt Version: 5.13.2 ADDITIONAL INFORMATION Suggest replace QRegEx with QRegularExpression, as the Qt docs recommend. -- You are receiving this mail because: You are watching all bug changes.