Fix image regexp