Matlab, 74 71 6262 57 bytes
@(s)[s(1:end-1) [0' 46]+.'+(s(1)>46)*[47 46]+*'/.'+(s(end)>47)*[45 -45]]
It computes the last two characters based on the s(1)
(first character) - to determine if we're dealing with the \/
case, and the last character s(end)
to make the correct tuple for the \/
characters.