File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ The provided Regex type allows 64 'operations' and 8 unique ASCII character sets
11
11
Drop the file into your project, or use the Zig build system:
12
12
13
13
``` zig
14
- zig fetch --save "https://github.com/mnemnion/mvzr/archive/refs/tags/v0.2.0 .tar.gz"
14
+ zig fetch --save "https://github.com/mnemnion/mvzr/archive/refs/tags/v0.2.1 .tar.gz"
15
15
```
16
16
17
17
I'll do my best to keep that URL fresh, but it pays to check over here: ➔
@@ -82,4 +82,4 @@ const SlimmedDownRegex = mvzr.SizedRegex(ops, sets);
82
82
83
83
## Bugs
84
84
85
- Fewer over time, I hope. This library isn't up to ` 0.1 ` yet, but the test suite never shrinks.
85
+ Fewer over time, I hope. The test suite never shrinks.
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ const std = @import("std");
8
8
const builtin = @import ("builtin" );
9
9
const assert = std .debug .assert ;
10
10
11
- const XXX = false ;
12
-
13
11
// Zig is very particular about the types of shifts.
14
12
const one : u64 = 1 ;
15
13
@@ -94,7 +92,7 @@ const OpMatch = struct {
94
92
i : usize ,
95
93
};
96
94
97
- const Regex : type = SizedRegex (MAX_REGEX_OPS , MAX_CHAR_SETS );
95
+ pub const Regex : type = SizedRegex (MAX_REGEX_OPS , MAX_CHAR_SETS );
98
96
99
97
pub fn SizedRegex (ops : comptime_int , char_sets : comptime_int ) type {
100
98
return struct {
You can’t perform that action at this time.
0 commit comments