also looking at this
Port to latest zig-master
#2
53 files
+1149
-1017
| @@ -8,7 +8,7 @@ const std = ; | ||
| 8 | 8 | /// Example usage: |
| 9 | 9 | /// ```zig |
| 10 | 10 | /// const Regex = .Regex; |
| 11 | /// const regex = try Regex.compile(allocator, "\\d+"); | |
| 11 | /// const regex = try Regex.compile(allocator, init.io, "\\d+"); | |
| 12 | 12 | /// defer regex.deinit(); |
| 13 | 13 | /// if (try regex.find("abc123")) |match| { |
| 14 | 14 | /// std.debug.print("Found: {s}\n", .{match.slice}); |