Re: Trying to compile sample from The D Programming Language book.

2011-04-04 Thread Jesus Alvarez
I reported the error to the author. Thanks guys! On Sun, Apr 3, 2011 at 3:34 AM, spir wrote: > On 04/03/2011 09:38 AM, Jesus Alvarez wrote: > >> I got it to compile adding std.regex to split to make it: >> >> auto words = std.regex.split (sentence, regex("[

Re: Trying to compile sample from The D Programming Language book.

2011-04-03 Thread Jesus Alvarez
I got it to compile adding std.regex to split to make it: auto words = std.regex.split (sentence, regex("[ \t,.;:?]+")); 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? Thanks!