Daniel Murphy <[email protected]> wrote:
It could be that the string returned from the regex looks the same as thehardcoded string but contains characters that don't show up when you printit. 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
