AddRegexp returns the type Validate