private AbstractStringSearcher createSearcher() {

		if (options.isPascalRequired()) {
			return new PascalStringSearcher(program, options.getMinStringSize(),
				options.getAlignment(), false);
		}

		return new StringSearcher(program, options.getMinStringSize(), options.getAlignment(),
			options.getIncludeAllCharSizes(), options.isNullTerminationRequired());
	}
Searches the current program for strings based on the user-defined settings in
{@link StringTableOptions}.

@param monitor the task monitor
@throws CancelledException
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/string/CombinedStringSearcher.java