Fix todo. Regex problem with up directory link if it included a dash character