April 03, 2011 Re: Trying to compile sample from The D Programming Language book. | ||||
---|---|---|---|---|
| ||||
Attachments:
| 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! |
Copyright © 1999-2021 by the D Language Foundation