@Override
		public List<ScriptInfo> getMatchingData(String searchText) {

			// This pattern will: 1) allow users to match the typed text anywhere in the
			// script names and 2) allow the use of globbing characters
			Pattern pattern = UserSearchUtils.createContainsPattern(searchText, true,
				Pattern.DOTALL | Pattern.CASE_INSENSITIVE);

			List<ScriptInfo> results = new ArrayList<>();
			for (ScriptInfo info : data) {
				String name = info.getName();
				Matcher m = pattern.matcher(name);
				if (m.matches()) {
					results.add(info);
				}
			}

			return results;
		}
Returns true if the value of this editor is valid.  Clients can use this to verify that the
user text is a valid script selection.
@return true if the valid of this editor is valid.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/script/ScriptSelectionEditor.java