ctregex.zig icon indicating copy to clipboard operation
ctregex.zig copied to clipboard

Compile time regular expressions in zig

Results 6 ctregex.zig issues
Sort by recently updated
recently updated
newest added

basic usage is unclear im a zig noob, so i have no idea whats wrong here ```sh zig init-exe ( cd src && git submodule add https://github.com/alexnask/ctregex.zig ) ``` ```zig...

Do you also want me to add this to [astrolabe.pm](https://astrolabe.pm) under the username alexnask?

Here's some simple test cases demonstrating this: ```zig try testMatch("a*a", .ascii, "aa"); try testMatch("a+a", .ascii, "aa"); try testMatch("a?a", .ascii, "a"); ``` These should all pass, but currently all fail. I'm...

bug

This updates build.zig to use the newer APIs, and changes ctregex.zig to build under 0.11.0. - Use @min instead of std.math.min - @truncate only takes one parameter now - Run...

A couple of quick modifications to get the project compiling on the latest version of Zig.

I've tested this out recently, updated a bunch of breaking changes. It seems that this still won't work given that zig's comptime semantics has changed a lot. I think to...