I got it to compile adding std.regex to split to make it:
So now my question is, is this an error in the book? The errata doesn't mention anything about this section. Why do I have to prepend std.regex?auto words = std.regex.split (sentence, regex("[ \t,.;:?]+"));