@Override
		public Void process(DecompileResults results, TaskMonitor monitor) throws Exception {

			Function function = results.getFunction();
			if (function.isThunk()) {
				return null;
			}

			ClangTokenGroup tokens = results.getCCodeMarkup();
			if (tokens == null) {
				return null;
			}
			List<ClangLine> lines = DecompilerUtils.toLines(tokens);

			// (?s) - enable dot all mode
			// (?-s) - disable dot all mode
			boolean multiLine = (pattern.flags() & Pattern.DOTALL) == Pattern.DOTALL;
			if (multiLine) {
				performMultiLineSearch(function, lines);
			}
			else {
				// line-by-line search
				for (ClangLine cLine : lines) {
					findMatch(function, cLine);
				}
			}

			return null;
		}
Finds text inside the given decompiled functions using the given pattern.
@param program the program
@param searchPattern the search pattern
@param functions the functions to search
@param consumer the consumer that will get matches
@param monitor the task monitor
@see #findText(Program, Pattern, Consumer, TaskMonitor)
Ghidra/Features/DecompilerDependent/src/main/java/ghidra/app/plugin/core/search/DecompilerTextFinder.java