Fix to work with current gist API

Two regexes were not accurate, most likely because the github api has changed. This commit fixes that.
Merge pull request #1 from Dynalon/master

Adjust to current gist api