private String convertNameGlobingToRegEx(String s) {
		// Name globing here refers to using the "*" or "?" globbing characters. However,
		// we only want them to apply to a single namespace or symbol name element. In other words
		// we can't use the reg-ex ".*" because it would match across delimiters which we don't 
		// want. The alternative is to use the "match everything but" construct where we use
		// "[^ ] which means match anything but spaces which is the delimiter we are using.
		//
		// There is a wrinkle for this substitution. We are replacing only single "*" characters,
		// but we need to avoid doubles (**) as those will be handled later by the path globbing.
		// To do this we used look ahead and look behind regex to only match single stars and not
		// double stars.

		// replace single "*" with the regex pattern that matches everything but spaces
		s = s.replaceAll("(?<!\\*)\\*(?!\\*)", "[^ ]*");

		// replace "?" with regex pattern that matches a single character
		s = s.replaceAll("\\?", ".");
		return s;
	}
Class for matching symbol names with or without namespace paths and wildcards.
Ghidra/Features/Base/src/main/java/ghidra/app/util/navigation/SymbolMatcher.java