- Added a check to skip regex processing for non-image content, improving performance when no inline base64 payload is present. - Updated regex pattern to ensure it correctly matches base64 image data URIs.