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("[ \t,.;:?]+"));
>>
>> So now my question
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("[ \t,.;:?]+"));
So now my question is, is this an error in the book? The errata doesn't
mention anything about this section.
If the TDPL code d
On 2011-04-03 00:10, Junior wrote:
> Hello, I am completely stuck on this error, any help would be
> appreciated... google was not helpful (too many useless matches for "D
> ").
>
> I am trying to compile this:
>
> import std.string, std.algorithm, std.conv, std.ctype, std.regex,
> std.range, std
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!
Hello, I am completely stuck on this error, any help would be appreciated...
google was not helpful (too many useless matches for "D ").
I am trying to compile this:
import std.string, std.algorithm, std.conv, std.ctype, std.regex, std.range,
std.stdio;
// blah blah blah
auto words = split(senten