std.string.split is broken :( (Re: DMD 1.001 release)

Lionello Lunesu lio at lunesu.remove.com
Wed Jan 24 02:31:37 PST 2007


The following code stopped working in 1.001. It works fine in 1.00:

void main()
{
	auto rs = std.string.split("a\tb\nc\td\ne\tf","\n");
	assert(rs.length==3);

	foreach(r;rs) {
	    auto f = std.string.split(r,"\t");
	    assert(f.length==2);
	}
}


std.string did not change, so I suspect there's something in the GC :(

L.



More information about the Digitalmars-d-announce mailing list