Fix regular expression for URL box

It was making the whole URL "", instead of just the github.com part.

I tested the passing case, then changed some things and only tested the failing case, so didn't notice that I had broken the whole functionality. Whoops.