Daniel Murphy <[email protected]> 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

Reply via email to