models/rule.go
func (r *Rule) AddUnmatch(unmatch string) error {
	unmatchRegexp, err := regexp.Compile("(?i)" + unmatch)
	if err != nil {
		return err
	}

	r.Unmatch = append(r.Unmatch, unmatchRegexp)

	return nil
}
func (r *Rule) AddUnmatch(unmatch string) error {
	unmatchRegexp, err := regexp.Compile("(?i)" + unmatch)
	if err != nil {
		return err
	}

	r.Unmatch = append(r.Unmatch, unmatchRegexp)

	return nil
}
// AddUnmatch adds a refular expression into the unmatch list.