Hello, I am completely stuck on this error, any help would be appreciated... google was not helpful (too many useless matches for "D <error>").<div><br></div><div>I am trying to compile this:</div><div><br>
</div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><div>import std.string, std.algorithm, std.conv, std.ctype, std.regex, std.range, std.stdio;</div></div>
</div><div>// blah blah blah</div><div>auto words = split(sentence, regex("[ \t,.;:?]+"));</div><div>// blah blah blah</div></blockquote><div><br></div><div>and two compilers (gdc, dmd) are giving me this error (output from gdc):</div>
<div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>main.d:34: Error: std.string.split at /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../include/d2/4.5.1/std/string.d:69 conflicts with std.regex.split(String) at /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../include/d2/4.5.1/std/regex.d:3096</div>
</blockquote><div><br></div><div>And I am clueless. How can they conflict, it's the standard library. It must be in the usage of split. As this is the second or third example in chapter one, I have no clue what is going on.</div>
<div><br></div><div>Thanks!</div><div><br></div>