Hmm. Maybe the \\/\\/ part should be it's own regex since when I replace it we add http://example.com/proxy/ to it anyway and it should be formatted the same way.