add regex patterns