Fix regexp for gif matching
0.7.0