// Words creates a regex that matches any of the given literal words.
Words creates a regex that matches any of the given literal words.
// Words creates a regex that matches any of the given literal words .
func Words(prefix, suffix string, words ...string) string {
	for i, word := range words {
		words[i] = regexp.QuoteMeta(word)
	}
	return prefix + `(` + strings.Join(words, `|`) + `)` + suffix
}
func Words ( prefix , suffix string , words ... string ) string { for i , word := range words { words [ i ] = regexp . QuoteMeta ( word ) } return prefix + `(` + strings . Join ( words , `|` ) + `)` + suffix }
Words creates a regex that matches any of the given literal words.
Words creates a regex that matches any of the given literal words .