mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-03-28 21:34:52 +00:00
12 lines
361 B
Diff
12 lines
361 B
Diff
--- 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;
|