// Test the correct regex replacement const html = ` `; const version = "v=1769008542216"; // Correct way to replace while preserving the quote character const result = html.replace(/ { const separator = src.includes('?') ? '&' : '?'; const cacheBustedSrc = `${src}${separator}${version}`; return `