Installation
Add zig-regex to your build.zig.zon:
zig fetch --save git+https://github.com/zig-utils/zig-regex
Then wire the module up in build.zig:
const regex = b.dependency("regex", .{
.target = target,
.optimize = optimize,
});
exe.root_module.addImport("regex", regex.module("regex"));
Requires Zig 0.17.0-dev.1441+d5181a9c9 or newer.
Or through Pantry:
pantry add zig-regex