I'm a bit worried about the freedom of the second part of this Regexp. It's probably fine, but I just want to double-check.

@mojombo will have to verify that this won't be a vunerability to GitHub's systems.