code: func MatchOriginRegexp(origin string, spec *regexp.Regexp) bool {
  	return spec.Match([]byte(origin))
  }
docs: // MatchOriginRegexp returns true if the given Origin header value matches the
  // origin specification.
  // Spec must be a valid regex