*) optimize image process regex.