upgrade regex-trigram