On Tuesday, 7 August 2012 at 17:14:03 UTC, Dmitry Olshansky wrote:
On 07-Aug-12 21:05, Namespace wrote:[code] import std.regex;enum Token : string { Blank = r"\s+" } void main() { const string text = "Foo Bar"; // text.split(regex(Token.Blank)); // don't work const string blank = Token.Blank; text.split(regex(blank)); // work } [/code] Can me somebody explain that? o.OisSomeString!T regression? See enum & std.traits topic in d.D. Seems like it will work again in 2.061...
-.-