diff options
| author | Johannes Altmanninger <aclopte@gmail.com> | 2024-11-03 14:06:48 +0100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2024-11-04 07:15:34 +1100 |
| commit | 6b9291104b72b678964024d35c3da5f34f86b2cb (patch) | |
| tree | eee785e7ffee50f17e2fa74c1c196e12a68ec9cc /src/dynamic_buffer_iterator.cc | |
| parent | 60fcc3443ef199f329a4e5c4fcd94ad017813a9b (diff) | |
Fix backward regex search ending in DOTALL
I noticed that reverse searches ending in "." stopped working in
version 2024.05.08:
kak -n -e "exec %{%cfoobar<ret><esc>gj<a-/>foo.<ret>}'
Bisects ca7471c25 (Compute StartDesc with an offset to effective start,
2024-03-18) which updated the find_next_start() logic for the forward
case but not for backward case. Add a symmetrical change and test
case, that seems to fix it. Not 100% sure if this is correct but
feels so.
Diffstat (limited to 'src/dynamic_buffer_iterator.cc')
0 files changed, 0 insertions, 0 deletions
