prow/plugins/label/label.go
func getLabelsFromREMatches(matches [][]string) (labels []string) {
	for _, match := range matches {
		for _, label := range strings.Split(match[0], " ")[1:] {
			label = strings.ToLower(match[1] + "/" + strings.TrimSpace(label))
			labels = append(labels, label)
		}
	}
	return
}
func getLabelsFromREMatches(matches [][]string) (labels []string) {
	for _, match := range matches {
		for _, label := range strings.Split(match[0], " ")[1:] {
			label = strings.ToLower(match[1] + "/" + strings.TrimSpace(label))
			labels = append(labels, label)
		}
	}
	return
}
func getLabelsFromREMatches ( matches [ ] [ ] string ) ( labels [ ] string ) { for _ , match := range matches { for _ , label := range strings . Split ( match [ 0 ] , " " ) [ 1 : ] { label = strings . ToLower ( match [ 1 ] + " " + strings . TrimSpace ( label ) ) labels = append ( labels , label ) } } return }
// Get Labels from Regexp matches
Get Labels from Regexp matches