summaryrefslogtreecommitdiff
path: root/patches/patches/103_tokenization.patch
blob: 01d68fc4e3a59494388ee230945e3b186dfc92a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- exercises/103_tokenization.zig	2023-10-05 21:57:23.245974688 +0200
+++ answers/103_tokenization.zig	2023-10-05 22:06:08.319119156 +0200
@@ -136,7 +136,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;