in reply to exercise in regex