tweak the regexes for imgurapi