summaryrefslogtreecommitdiff
path: root/patches/patches/103_tokenization.patch
blob: 98f645b3e424ab044d4871f784064b9f76cd68a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- exercises/103_tokenization.zig	2023-10-03 22:15:22.125574535 +0200
+++ answers/103_tokenization.zig	2023-10-05 20:04:07.309438291 +0200
@@ -136,7 +136,7 @@
     ;
 
     // now the tokenizer, but what do we need here?
-    var it = std.mem.tokenize(u8, poem, ???);
+    var it = std.mem.tokenize(u8, poem, " ,;!\n");
 
     // print all words and count them
     var cnt: usize = 0;