🔥 3-day streak
GitHub Copilot1 / 190
Question 1 of 190

A developer is using Copilot Chat in the IDE. They first ask, "Write a Python function that validates an email address using regex." Copilot responds with a working function. The developer then types a second message: "Now add support for internationalized domain names." Copilot correctly modifies the previously generated function without the developer re-pasting it. What mechanism allows Copilot to produce the correct modification?

Reviewed for accuracy · Report an issueNext question