std.file bug? std.regex bug?

Simen kjaeraas simen.kjaras at gmail.com
Sat Jun 26 04:23:56 PDT 2010


Daniel Murphy <yebblies at nospamgmail.com> 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 - trailing spaces.
Still, the error I got gave absolutely no indication that that might be it.

-- 
Simen


More information about the Digitalmars-d-learn mailing list