protected boolean parentIsGlobEscape(MatchesPatternTextFilter parent) {

		if (allowGlobbing) {
			// Handle escaped glob characters.  A previous filter result that ends with an escape
			// character will not have correctly matched the items being filtered.  Thus, we cannot
			// be a sub filter such a parent filter.
			boolean endsWithEscapedGlob = StringUtils.endsWithAny(filterText, "\\?", "\\*");
			if (endsWithEscapedGlob) {
				// If the user type slow enough (to let the SwingUpdateManager run) in the filter
				// field, then the parent filter will end with a backslash.  If they user types fast
				// or pastes, then this will not be the case.
				if (parent.filterText.endsWith("\\")) {
					return true;
				}
			}
		}

		return false;
	}
A text filter that uses a pattern and performs a 'matches' using that pattern.
Ghidra/Framework/Docking/src/main/java/docking/widgets/filter/MatchesPatternTextFilter.java