s/(\\[^.]*)$/\\/;