public static List<String> getContextRegisterList(String contextRegsCSV) {
		List<String> contextRegisters = new ArrayList<>();

		if (contextRegsCSV == null) {
			return contextRegisters;
		}
		contextRegsCSV = contextRegsCSV.trim();
		//literal string null: this can be a value in a .properties file
		if ((contextRegsCSV.equals("")) || contextRegsCSV.equals("null")) {
			return contextRegisters;
		}

		String[] components = contextRegsCSV.split(",");
		for (String component : components) {
			if (!StringUtils.isEmpty(component.trim())) {
				contextRegisters.add(component.trim());
			}
		}
		return contextRegisters;
	}
Parse a List of context registers from a CSV string of context register names

<p> It is assumed that the list contains no duplicates.

@param contextRegsCSV a CSV String of context register names to track during
data gathering

@return the list
Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/DataGatheringParams.java