code: func attributeRegexSelector(key string, rx *regexp.Regexp) Selector {
  	return attributeSelector(key,
  		func(s string) bool {
  			return rx.MatchString(s)
  		})
  }
docs: // attributeRegexSelector returns a Selector that matches nodes where
  // the attribute named key matches the regular expression rx