Fix regexp to ignore .gif file(s)