mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-13 21:40:46 -05:00
11 lines
393 B
Diff
11 lines
393 B
Diff
--- 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;
|