resolve double slash matching