Fix one off error in regex reverse search.

This commit is contained in:
2026-08-23 11:10:11 +01:00
parent dba279b036
commit f4e3a190b8
+1 -1
View File
@@ -252,7 +252,7 @@ uint64_t Vase::find_prev(std::string_view pattern, uint64_t start) {
}
at--;
}
at = lines();
at = lines() - 1;
LineIterator it2(root, at, Direction::Backward);
while (it2.next(&line)) {
if (at <= start)