protected boolean isWholeWord(int i, String match) {
		if (i > 0 && VtLine.isWordChar(sb.charAt(i - 1))) {
			return false;
		}
		int iAfter = i + match.length();
		if (iAfter < sb.length() && VtLine.isWordChar(sb.charAt(iAfter))) {
			return false;
		}
		return true;
	}
Create a finder on the given model

@see TerminalPanel#find(String, Set, FieldLocation, boolean)
@param model the model
@param cur the start of the current selection, or null
@param forward true for forward, false for backward
@param options a set of options, preferably an {@link EnumSet}
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/TerminalFinder.java