diff options
Diffstat (limited to 'src/sam_edit.zig')
| -rw-r--r-- | src/sam_edit.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sam_edit.zig b/src/sam_edit.zig index a88728aa..113ad14f 100644 --- a/src/sam_edit.zig +++ b/src/sam_edit.zig @@ -445,6 +445,7 @@ const Exec = struct { fn compile(ex: *Exec, pat: []const u8, c: u8) Failure!regexp.Regex { return regexp.Regex.compile(pat) catch |err| switch (err) { error.Anchor => fail(ex.why, "{s}", .{regexp.Regex.e_anchor}), + error.TooLong => fail(ex.why, "{s}", .{regexp.Regex.e_long}), error.Bad => fail(ex.why, "bad regexp in {c} command", .{c}), }; } |
