public AddressSet getSearchAddresses(Program program) {
		AddressSet set = new AddressSet();
		for (SearchRegion memoryRegion : selectedRegions) {
			set.add(memoryRegion.getAddresses(program));
		}
		return set;
	}
Creates a copy of this settings object, but using the given search format.
@param format the new search format
@return a new search settings that is the same as this settings except for the format
Ghidra/Features/Base/src/main/java/ghidra/features/base/memsearch/gui/SearchSettings.java