Using ^, $, and ^$ and setting the find dialog to use regex, the cursor won't move to the next instance of the regex when pressing the Repeat Find keyboard shortcut or using the Next button. Reproducible: Always Steps to Reproduce: 1. Set the Find dialog to regex 2. Search for ^, $, or ^$ 3. The cursor moves to the first instance 4. Press the Repeat Find keyboard shortcut or press the dialog Next button Actual Results: The cursor won't move forward. Expected Results: The cursor should move forward. Add additional information to the regex search and the cursor moves forward just fine. For exampe, ^[a-z] or [a-z]$. Only when ^, $ or ^$ are used by themselves does the cursor refuse to move forward to find the next instance.
*** Bug 342209 has been marked as a duplicate of this bug. ***
The bug also reproducible with ^[^#]*$ , when it match empty line. It seems that this bug related to any regex which match empty string
[I am a GCI student] A strange thing I noticed: It actually works when searching backwards(pressing the previous button)
Changing status
Still get the same interesting behavior - with Kate 17.08.1 . Searching using ^ and it works when searching backwards but not forwards.
This appears fixed. I'm no regex expert but ^ found the start of each line, $ the end and ^$ only blank lines. Can you please test and confirm the bug is now resolved, thanks.
The bug is not reproducible in kate in latest debian sid. (Kate 20.08.2)
Thanks Askar, I'll mark this bug as resolved, if anyone is still experiencing the issue please reopen with further information if possible.