private List<QuickFix> query(String search, String replace, boolean isRegEx,
			boolean isCaseSensitive, boolean isWholeWord) throws CancelledException {
		SearchAndReplaceQuery query =
			new SearchAndReplaceQuery(search, replace, querySearchTypes, isRegEx, isCaseSensitive,
				isWholeWord, SEARCH_LIMIT);
		ListAccumulator<QuickFix> accumulator = new ListAccumulator<>();
		query.findAll(program, accumulator, TaskMonitor.DUMMY);
		return accumulator.asList();
	}
Tests user input with search options for both one word searchers (renaming labels, datatypes,
etc.) and updating multi-word matches (comments)
Ghidra/Features/Base/src/test/java/ghidra/features/base/replace/AbstractSearchAndReplaceTest.java