public static Pattern createContainsPattern(String input, boolean allowGlobbing, int options) {

		Pattern wildCardPattern = createSingleStarPattern(input, allowGlobbing, options);
		if (wildCardPattern != null) {
			return wildCardPattern;
		}

		String converted = convertUserInputToRegex(input, allowGlobbing);
		Pattern p = Pattern.compile(".*" + converted + ".*", options);
		return p;
	}
Creates a regular expression Pattern that will <b>match</b>
all strings that <b>contain</b> the given input string.
<p>
This method should only be used with {@link Matcher#matches()}.

@param input
			the string that you want to your matched strings to contain.
@param allowGlobbing
         if true, globing characters (* and ?) will converted to regex wildcard patterns;
         otherwise, they will be escaped and searched as literals.
@param options
			any {@link Pattern} options desired.  For example, you can pass
			{@link Pattern#CASE_INSENSITIVE} to get case insensitivity.
@return a regular expression Pattern that will <b>match</b>
all strings that contain the given input string.
Ghidra/Framework/Utility/src/main/java/ghidra/util/UserSearchUtils.java