Hacker News new | ask | show | jobs
by totallymike 4404 days ago
The regex is case sensitive. That's how I solved it.
1 comments

haha so obvious yet I completely missed that! I went with a protocol-relative url [0]

[0] http://www.paulirish.com/2010/the-protocol-relative-url/