Am Sonntag, 4. März 2007 15:38 schrieb Lars Gullik Bjønnes: > This really feels wrong. > > Suddenly it is tripple the complexity.
Do you have a better idea? The regexes will never be perfect, so we must be able to test whether a given string denotes an existing file. > And I am really annoyed at you keeping discussions _only_ in bugzilla. > Impossible for others to follow development then. Yes, part of that could have been done on the list. But I sent the patch on friday, together with links to the relevant bugzilla entries, so in this case I don't think it was impossible to follow it, and I would not have put it in if you had complained. > >From what I have seen from the bug trail you have not even > investigated what exception that occur. No, because it does not matter IMHO: Either the string is not a valid filename, or it was not possible to determine whether the file exists. How can we tell the difference with boost::filesystem? I don't know, so in both cases we will not put it into the dependency list. > And comment #8 is really against how I feel about exceptions. > "Catch exceptions wherever they might occur" I agree here. Georg