updated regex to not match similar images