prow/plugins/project/project.go
func processRegexMatches(matches []string) (string, string, bool, string) {
	var shouldClear = false
	proposedProject := matches[1]
	proposedColumnName := ""
	if len(matches) > 1 && proposedProject != clearKeyword {
		proposedColumnName = matches[2]
	}
	// If command is to clear and the project is provided
	if proposedProject == clearKeyword {
		if len(matches) > 2 && matches[2] != "" {
			proposedProject = matches[2]
			shouldClear = true
		} else {
			msg := invalidNumArgs
			return "", "", false, msg
		}
	}

	return proposedProject, proposedColumnName, shouldClear, ""
}
func processRegexMatches(matches []string) (string, string, bool, string) {
	var shouldClear = false
	proposedProject := matches[1]
	proposedColumnName := ""
	if len(matches) > 1 && proposedProject != clearKeyword {
		proposedColumnName = matches[2]
	}
	// If command is to clear and the project is provided
	if proposedProject == clearKeyword {
		if len(matches) > 2 && matches[2] != "" {
			proposedProject = matches[2]
			shouldClear = true
		} else {
			msg := invalidNumArgs
			return "", "", false, msg
		}
	}

	return proposedProject, proposedColumnName, shouldClear, ""
}
// processRegexMatches processes the user command regex matches and returns the proposed project name,
// proposed column name, whether the command is to remove issue/PR from project,
// and the error message