fixing gist for new github gist ids

It looks like github changed the way they build gist ids, previously they were numerical now they are not. This regex appears to work for both kinds and show fix #1505