private static int indexOfAny(String s, String chars, int start, boolean charsMatch) {
		for (int i = start; i < s.length(); i++) {
			char ch = s.charAt(i);
			boolean matches = chars.indexOf(ch) != -1;
			if (matches == charsMatch) {
				return i;
			}
		}
		return -1;
	}
Returns the matching Ghidra function (based on namespace and symbol name).

@param program {@link Program} containing the function
@return Ghidra {@link Function}
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/GoSymbolName.java