@Nullable
	private StringPredicate buildPredicate(@Nonnull String id, @Nonnull String text) {
		StringPredicate namePredicate;
		if (text.isBlank())
			return null;

		// Validate regex input
		if (id.contains("regex") && !RegexUtil.validate(text).valid())
			return null;

		return stringPredicateProvider.newBiStringPredicate(id, text);
	}
@return Reference member descriptor value property to search with.
recaf-ui/src/main/java/software/coley/recaf/ui/pane/search/AbstractMemberSearchPane.java