code: func compileRegexps(regexpStrings []string) ([]*regexp.Regexp, error) {
  	regexps := []*regexp.Regexp{}
  	for _, regexpStr := range regexpStrings {
  		r, err := regexp.Compile(regexpStr)
  		if err != nil {
  			return []*regexp.Regexp{}, err
  		}
  		regexps = append(regexps, r)
  	}
  	return regexps, nil
  }
docs: // Takes a list of strings and compiles them into a list of regular expressions