summaryrefslogtreecommitdiff
path: root/patches/patches/103_tokenization.patch
blob: 941ca3b499038f1a8b7fe1da25a7f6196abdb6d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- exercises/103_tokenization.zig	2026-02-27 19:25:11
+++ answers/103_tokenization.zig	2026-02-27 19:26:04
@@ -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;