Fix regex for windows paths + uppercase protocols

This also validates paths like `C:\sdf` instead of only `C:/sdf`. Also allows `HTTP://` instead of just `http://`