Make the regular expression not require a gif image.