You missread it. It does not do what you say. I have the \\\/\\\/ part because sometimes it looks like that in some JavaScript files.
Evidence:
http://regexpal.com/?flags=g&regex=%28%22|%27|%3D%29%28http%3A%28\%2F\%2F|\\\%2F\\\%2F%29|https%3A%28\%2F\%2F|\\\%2F\\\%2F%29%29&input=%3Dhttp%3A%2F%2Fgoogle.com%0A%3D%2F%2Fgoogle.com