He regretted having spoken to the camel driver about what he had seen in the desert.
['regretted']
['He', 'regretted', 'having', 'spoken', 'to', 'the', 'camel', 'driver', 'about', 'what', 'he', 'had', 'seen', 'in', 'the', 'desert.']