Add regex to Definitions