summaryrefslogtreecommitdiff
path: root/src/pardes.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-28 11:12:10 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:14 -0300
commit5cf50930dee214fb641bb95bbf8639b8f76930d9 (patch)
treefe0855346e0c8d2b7e656cfa2cbc4a1abd9b9311 /src/pardes.zig
parent3d8fc0733cd2d2c8a6209514aa1158cbd713be25 (diff)
downloadpardes-5cf50930dee214fb641bb95bbf8639b8f76930d9.tar.gz
pardes-5cf50930dee214fb641bb95bbf8639b8f76930d9.zip
Normal mode's s and S search as addr does, through one shared regexp.zig
The sam-style calling convention for mvzr (a line per haystack, . made [^\\n] only when a pattern names \\n) lived in addr.zig; normal mode's s and S called mvzr over the raw selection, where ^ meant the selection's start and . crossed lines. src/regexp.zig now holds the one Regex (compile, find) both call, and fs.zig and pardes.zig drop an unused mvzr import. hxdiff and hxparity stay at their known 17 and 6 mismatches, none of them regex cases. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/pardes.zig')
-rw-r--r--src/pardes.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pardes.zig b/src/pardes.zig
index 9d336db3..05f6710a 100644
--- a/src/pardes.zig
+++ b/src/pardes.zig
@@ -2,7 +2,6 @@ const std = @import("std");
pub const layout = @import("layout.zig");
const uucode = @import("uucode");
const vaxis = @import("vaxis");
-const mvzr = @import("mvzr");
pub const modal = @import("modal.zig");
pub const look = @import("look.zig");
pub const filesystem = @import("fs.zig");
@@ -451,6 +450,7 @@ test {
_ = @import("look.zig");
_ = @import("mouse.zig");
_ = @import("normal.zig");
+ _ = @import("regexp.zig");
_ = @import("edit.zig");
_ = @import("Messages.zig");
_ = @import("selection_pipe.zig");