This regex smells a bit gratuitous -- what is wrong with using map.split("/",2)  here?