private static int getModifierIndex(String value) {
		int baseModifierIndex = value.indexOf("[", 1);  // start past first char as it could be valid "[EXTERNAL]" prefix
		int overlayModifierIndex = value.indexOf("{");
		if (baseModifierIndex < 0) {
			return overlayModifierIndex;
		}
		if (overlayModifierIndex < 0) {
			return baseModifierIndex;
		}
		return Math.min(overlayModifierIndex, baseModifierIndex);
	}
Parses the value string into an icon or reference and creates a new IconValue using
the given key and the parse results.
@param key the key to associate the parsed value with
@param value the color value to parse
@return an IconValue with the given key and the parsed value
@throws ParseException if the value can't be parsed
Ghidra/Framework/Gui/src/main/java/generic/theme/IconValue.java