Files
ziglings/patches/patches/106_tokenization.patch
2026-04-03 13:35:56 +02:00

12 lines
393 B
Diff

--- exercises/106_tokenization.zig 2026-03-20 19:23:48.873150100 +0100
+++ answers/106_tokenization.zig 2026-04-02 10:51:15.807831578 +0200
@@ -134,7 +134,7 @@
;
// now the tokenizer, but what do we need here?
- var it = std.mem.tokenizeAny(u8, poem, ???);
+ var it = std.mem.tokenizeAny(u8, poem, " ,;!\n");
// print all words and count them
var cnt: usize = 0;