private int findFirstNonStar(String query, int index) {
		while (index < query.length() && query.charAt(index) == '*') {
			index++;
		}
		return index;
	}
Class for matching symbol names with or without namespace paths and wildcards.
Ghidra/Features/Base/src/main/java/ghidra/app/util/navigation/SymbolMatcher.java