Question d’entretien chez Apple

it was a regular expression question classic one