Re: std.file bug? std.regex bug?

2010-06-26 Thread Simen kjaeraas
div0 wrote: Not after I changed what was actually the problem - trailing spaces. Still, the error I got gave absolutely no indication that that might be it. Yes it did. It told you exactly what was wrong. Awright, I agree I overstated things there. My point however, was that the error me

Re: std.file bug? std.regex bug?

2010-06-26 Thread div0
On 26/06/2010 12:23, Simen kjaeraas wrote: Daniel Murphy wrote: It could be that the string returned from the regex looks the same as the hardcoded string but contains characters that don't show up when you print it. Does adding assert(regexResult == expectedFilename); throw? Not after I cha

Re: std.file bug? std.regex bug?

2010-06-26 Thread Simen kjaeraas
Daniel Murphy wrote: It could be that the string returned from the regex looks the same as the hardcoded string but contains characters that don't show up when you print it. Does adding assert(regexResult == expectedFilename); throw? Not after I changed what was actually the problem - trai

Re: std.file bug? std.regex bug?

2010-06-26 Thread Daniel Murphy
It could be that the string returned from the regex looks the same as the hardcoded string but contains characters that don't show up when you print it. Does adding assert(regexResult == expectedFilename); throw? "Simen kjaeraas" wrote in message news:op.vewf53itvxi...@biotronic-pc.lan... >I hav

std.file bug? std.regex bug?

2010-06-26 Thread Simen kjaeraas
I have this weirdest bug. I'm extracting a list of files from a file, using std.regex. Then, I try to open each of these, using std.file.readText. This gives me this error: std.file.FileException: In std\file.d(198), data file data: The filename, directory name, or volume label syntax is incorrec